Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.00125, allocations: 102.4 kB / 16.31 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 186.5 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.1 MB / 223.1 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0892/0.0892, allocations: 12.59 MB / 283.1 MB, free: 15.46 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 95.84 kB / 343.5 MB, free: 2.934 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3677, allocations: 49.38 MB / 392.9 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.004208/0.372, allocations: 1.615 MB / 394.5 MB, free: 48.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.3741, allocations: 0.8705 MB / 395.4 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.3742, allocations: 1.094 kB / 395.4 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.3745, allocations: 11.33 kB / 395.4 MB, free: 47.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009054/0.3754, allocations: 164.2 kB / 395.5 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.3756, allocations: 44.42 kB / 395.6 MB, free: 47.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.3758, allocations: 71.47 kB / 395.6 MB, free: 47.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.376, allocations: 34.98 kB / 395.7 MB, free: 47.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.3761, allocations: 34.89 kB / 395.7 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.3763, allocations: 51.62 kB / 395.8 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.3764, allocations: 8.156 kB / 395.8 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.3769, allocations: 180.2 kB / 395.9 MB, free: 47.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.837e-05/0.3769, allocations: 27.39 kB / 396 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.377, allocations: 50.55 kB / 396 MB, free: 47.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.3774, allocations: 231.8 kB / 396.2 MB, free: 47.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3774, allocations: 0 / 396.2 MB, free: 47.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3775, allocations: 1.375 kB / 396.2 MB, free: 47.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.3775, allocations: 0 / 396.2 MB, free: 47.02 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009601/0.3784, allocations: 436.1 kB / 396.7 MB, free: 46.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.3785, allocations: 10.16 kB / 396.7 MB, free: 46.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.3786, allocations: 10.47 kB / 396.7 MB, free: 46.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.3789, allocations: 200.6 kB / 396.9 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.127e-05/0.379, allocations: 8.469 kB / 396.9 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.379, allocations: 4.312 kB / 396.9 MB, free: 46.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000978/0.38, allocations: 368.3 kB / 397.3 MB, free: 46.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.38, allocations: 0 / 397.3 MB, free: 46.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3801, allocations: 5.031 kB / 397.3 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.79e-05/0.3801, allocations: 12.83 kB / 397.3 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.3805, allocations: 106 kB / 397.4 MB, free: 46.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.381, allocations: 305 kB / 397.7 MB, free: 45.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.3814, allocations: 191.6 kB / 397.9 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.3816, allocations: 114.3 kB / 398 MB, free: 45.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.3817, allocations: 1.312 kB / 398 MB, free: 45.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.3817, allocations: 41.25 kB / 398 MB, free: 45.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 2.104e-06/0.3817, allocations: 0 / 398 MB, free: 45.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007103/0.3825, allocations: 256.6 kB / 398.3 MB, free: 45.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/0.3826, allocations: 87.23 kB / 398.4 MB, free: 45.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3827, allocations: 131.3 kB / 398.5 MB, free: 45.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3827, allocations: 25.7 kB / 398.5 MB, free: 45.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.3828, allocations: 95.39 kB / 398.6 MB, free: 45.03 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.3828, allocations: 16.47 kB / 398.6 MB, free: 45.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.3829, allocations: 38.89 kB / 398.7 MB, free: 44.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3831, allocations: 334.2 kB / 399 MB, free: 44.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.3832, allocations: 41.39 kB / 399 MB, free: 44.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.3834, allocations: 171.8 kB / 399.2 MB, free: 44.44 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.3837, allocations: 203.2 kB / 399.4 MB, free: 44.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3837, allocations: 1.375 kB / 399.4 MB, free: 44.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003754/0.3841, allocations: 213.2 kB / 399.6 MB, free: 44.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3841, allocations: 10.31 kB / 399.6 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3842, allocations: 4.312 kB / 399.6 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.3842, allocations: 9.875 kB / 399.6 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3843, allocations: 39.48 kB / 399.7 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.3844, allocations: 9.688 kB / 399.7 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.287e-05/0.3845, allocations: 22.89 kB / 399.7 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.3845, allocations: 10.25 kB / 399.7 MB, free: 44.08 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.FIR1.FIRbyCoefficients1.first,FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Number of clocked states: 4 (FIR1.FIRbyCoefficients1.first,FIR1.FIRbyCoefficients1.u_buffer[3],FIR1.FIRbyCoefficients1.u_buffer[2],FIR1.FIRbyCoefficients1.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.3846, allocations: 143.5 kB / 399.8 MB, free: 43.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002765/0.3849, allocations: 175.6 kB / 400 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.3849, allocations: 19.08 kB / 400 MB, free: 43.83 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.385, allocations: 7.281 kB / 400 MB, free: 43.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.385, allocations: 1.156 kB / 400 MB, free: 43.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.385, allocations: 1.031 kB / 400 MB, free: 43.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.3852, allocations: 207.9 kB / 400.2 MB, free: 43.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3852, allocations: 5.125 kB / 400.3 MB, free: 43.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.3853, allocations: 27.77 kB / 400.3 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3853, allocations: 2.062 kB / 400.3 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3853, allocations: 9.406 kB / 400.3 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3853, allocations: 4.812 kB / 400.3 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3854, allocations: 1.062 kB / 400.3 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3858, allocations: 303.8 kB / 400.6 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.3858, allocations: 89.97 kB / 400.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.3858, allocations: 6.719 kB / 400.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.3859, allocations: 3.156 kB / 400.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.386, allocations: 1.094 kB / 400.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.386, allocations: 12.45 kB / 400.7 MB, free: 43.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.727e-05/0.3861, allocations: 104.9 kB / 400.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.994e-06/0.3861, allocations: 0 / 400.8 MB, free: 43.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.3865, allocations: 61.22 kB / 400.9 MB, free: 43.11 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (FIR1.FIRbyCoefficients1.first) * Number of discrete states: 0 () * Number of clocked states: 4 (FIR1.FIRbyCoefficients1.u_buffer[1],FIR1.FIRbyCoefficients1.u_buffer[2],FIR1.FIRbyCoefficients1.u_buffer[3],FIR1.FIRbyCoefficients1.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004779/0.387, allocations: 151.7 kB / 401 MB, free: 43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.3874, allocations: 169 kB / 401.2 MB, free: 42.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3875, allocations: 0 / 401.2 MB, free: 42.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.163e-05/0.3875, allocations: 17.17 kB / 401.2 MB, free: 42.92 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.3881, allocations: 120.4 kB / 401.3 MB, free: 42.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.3889, allocations: 334.2 kB / 401.6 MB, free: 42.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.3892, allocations: 0.7206 MB / 402.4 MB, free: 41.9 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.3892, allocations: 14.89 kB / 402.4 MB, free: 41.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.3893, allocations: 15.12 kB / 402.4 MB, free: 41.89 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3893, allocations: 0 / 402.4 MB, free: 41.89 MB / 318.1 MB Notification: Performance of Templates: time 0.006966/0.3962, allocations: 2.222 MB / 404.6 MB, free: 40.78 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.pipe 2>&1)