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.0006898/0.0006897, allocations: 97.72 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007493/0.0007493, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.208/1.208, allocations: 205.4 MB / 223.2 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06244/0.06244, allocations: 12.61 MB / 284 MB, free: 8.582 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.0006408/0.0006408, allocations: 16 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0761/0.07676, allocations: 50.38 MB / 395.5 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b): time 0.001708/0.07849, allocations: 1.325 MB / 396.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.07985, allocations: 0.8736 MB / 397.7 MB, free: 224 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.07993, allocations: 3.938 kB / 397.7 MB, free: 220 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.93e-05/0.08003, allocations: 3.938 kB / 397.7 MB, free: 216 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.08055, allocations: 135.6 kB / 397.9 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.08071, allocations: 39.97 kB / 397.9 MB, free: 40 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.08083, allocations: 71.81 kB / 398 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.08092, allocations: 27.97 kB / 398 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.08097, allocations: 15.88 kB / 398 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.0811, allocations: 51.81 kB / 398.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.08113, allocations: 0 / 398.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.08142, allocations: 167.7 kB / 398.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.08148, allocations: 27.91 kB / 398.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.08156, allocations: 65.44 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.08185, allocations: 227.5 kB / 398.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.08186, allocations: 0 / 398.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08187, allocations: 0 / 398.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.08188, allocations: 4 kB / 398.6 MB, free: 15.39 MB / 302.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.0005304/0.08241, allocations: 407.2 kB / 399 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.08245, allocations: 8.031 kB / 399 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.08249, allocations: 12.75 kB / 399 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.08267, allocations: 196.1 kB / 399.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.0827, allocations: 12.31 kB / 399.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.08272, allocations: 8.375 kB / 399.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.08326, allocations: 373.7 kB / 399.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.08328, allocations: 0 / 399.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.0833, allocations: 4 kB / 399.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.158e-05/0.08334, allocations: 8 kB / 399.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.08356, allocations: 103.9 kB / 399.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.08388, allocations: 317.4 kB / 400 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.08416, allocations: 189.4 kB / 400.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.08435, allocations: 113.8 kB / 400.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.08437, allocations: 0 / 400.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.08441, allocations: 42.55 kB / 400.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.213e-06/0.08441, allocations: 0 / 400.3 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0004808/0.0849, allocations: 260.6 kB / 400.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.08498, allocations: 92.95 kB / 400.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.08508, allocations: 130 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.0851, allocations: 29.7 kB / 400.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.08516, allocations: 92.47 kB / 400.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.08519, allocations: 19.97 kB / 400.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.08522, allocations: 25.7 kB / 401 MB, free: 12.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.08533, allocations: 326.8 kB / 401.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.08542, allocations: 39.92 kB / 401.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.08558, allocations: 168 kB / 401.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.08583, allocations: 216 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.08584, allocations: 4 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003199/0.08617, allocations: 221 kB / 401.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.08619, allocations: 4 kB / 401.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.0862, allocations: 4.594 kB / 401.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.08622, allocations: 12 kB / 401.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.08636, allocations: 43.91 kB / 402 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.08637, allocations: 7.984 kB / 402 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.08646, allocations: 19.91 kB / 402 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.08648, allocations: 12 kB / 402 MB, free: 11.56 MB / 302.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.0001169/0.0866, allocations: 145.6 kB / 402.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.08688, allocations: 181.4 kB / 402.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.515e-05/0.08693, allocations: 12.84 kB / 402.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.08696, allocations: 11.98 kB / 402.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.08696, allocations: 0 / 402.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.08698, allocations: 7.984 kB / 402.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.08716, allocations: 201.5 kB / 402.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.08717, allocations: 7.938 kB / 402.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.08729, allocations: 23.98 kB / 402.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.0873, allocations: 0 / 402.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.08732, allocations: 4 kB / 402.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.08732, allocations: 0 / 402.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.08733, allocations: 0 / 402.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.08767, allocations: 320.4 kB / 402.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.08773, allocations: 88.95 kB / 403 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.08776, allocations: 8 kB / 403 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.349e-05/0.08785, allocations: 7.984 kB / 403 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.08788, allocations: 4 kB / 403 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.0879, allocations: 4 kB / 403 MB, free: 10.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.496e-05/0.08796, allocations: 104.2 kB / 403.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08797, allocations: 0 / 403.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003518/0.08832, allocations: 55.98 kB / 403.2 MB, free: 10.3 MB / 302.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.0003191/0.08865, allocations: 159.3 kB / 403.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.08894, allocations: 163.7 kB / 403.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.08895, allocations: 0 / 403.5 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.46e-05/0.08899, allocations: 9.188 kB / 403.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.08945, allocations: 123.8 kB / 403.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.09009, allocations: 364.8 kB / 404 MB, free: 9.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.09037, allocations: 0.7284 MB / 404.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.09042, allocations: 9.078 kB / 404.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.09046, allocations: 15.44 kB / 404.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09047, allocations: 0 / 404.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of Templates: time 0.004716/0.09519, allocations: 2.101 MB / 406.8 MB, free: 6.574 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestFIR_Step2b.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: