Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/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(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001543/0.001543, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.535/1.535, allocations: 205.1 MB / 222 MB, free: 4.961 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3256/0.3256, allocations: 37.98 MB / 307.3 MB, free: 9.938 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001394, allocations: 63.91 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1324, allocations: 56.47 MB / 431 MB, free: 7.086 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00475/0.1372, allocations: 3.358 MB / 434.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.1399, allocations: 1.559 MB / 435.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.1403, allocations: 19.88 kB / 435.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.1408, allocations: 119.2 kB / 436.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.1413, allocations: 167 kB / 436.2 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1423, allocations: 487.2 kB / 436.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008723/0.1432, allocations: 0.869 MB / 437.6 MB, free: 496 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.1437, allocations: 230.4 kB / 437.8 MB, free: 252 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.1441, allocations: 318.5 kB / 438.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.1446, allocations: 382 kB / 438.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.1447, allocations: 32 kB / 438.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.519e-05/0.1448, allocations: 32 kB / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.145, allocations: 171.3 kB / 438.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.1453, allocations: 313.8 kB / 439 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006434/0.1459, allocations: 0.7238 MB / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1459, allocations: 0 / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1459, allocations: 0 / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1459, allocations: 4 kB / 439.7 MB, free: 14.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002389/0.1483, allocations: 1.16 MB / 440.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1484, allocations: 8.031 kB / 440.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.1486, allocations: 91.81 kB / 441 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.1495, allocations: 0.5585 MB / 441.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.1495, allocations: 37.38 kB / 441.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.625e-05/0.1496, allocations: 64.27 kB / 441.7 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.1507, allocations: 0.6098 MB / 442.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1507, allocations: 0 / 442.3 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.1508, allocations: 24 kB / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1508, allocations: 12 kB / 442.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.1518, allocations: 457.8 kB / 442.8 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.1555, allocations: 2.678 MB / 445.4 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1566, allocations: 0.5468 MB / 446 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.1571, allocations: 254.4 kB / 446.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.1572, allocations: 4 kB / 446.2 MB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1572, allocations: 38.56 kB / 446.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.445e-06/0.1572, allocations: 0 / 446.3 MB, free: 7.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002658/0.1599, allocations: 1.132 MB / 447.4 MB, free: 6.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.95e-05/0.16, allocations: 132.5 kB / 447.5 MB, free: 6.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/0.1609, allocations: 0.6568 MB / 448.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.1609, allocations: 37.7 kB / 448.2 MB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.1612, allocations: 364 kB / 448.6 MB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.1613, allocations: 169.5 kB / 448.7 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.1616, allocations: 118.2 kB / 448.9 MB, free: 4.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1617, allocations: 333.9 kB / 449.2 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006246/0.1623, allocations: 275.3 kB / 449.5 MB, free: 4.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.163, allocations: 424.6 kB / 449.9 MB, free: 3.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.1645, allocations: 0.6779 MB / 450.5 MB, free: 2.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1645, allocations: 0 / 450.5 MB, free: 2.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00175/0.1662, allocations: 0.7865 MB / 451.3 MB, free: 2.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.1663, allocations: 8 kB / 451.3 MB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.1663, allocations: 8.031 kB / 451.3 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.1663, allocations: 11.94 kB / 451.4 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/0.167, allocations: 151.8 kB / 451.5 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/0.1671, allocations: 11.94 kB / 451.5 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.1676, allocations: 87.47 kB / 451.6 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.1677, allocations: 24 kB / 451.6 MB, free: 1.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007782/0.1684, allocations: 409.3 kB / 452 MB, free: 1.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006458/0.1691, allocations: 420.3 kB / 452.4 MB, free: 1.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001177/0.1703, allocations: 0.6648 MB / 453.1 MB, free: 300 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.1703, allocations: 3.984 kB / 453.1 MB, free: 296 kB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.2351/0.4055, allocations: 0.7656 MB / 453.9 MB, free: 52.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4055, allocations: 6.5 kB / 453.9 MB, free: 52.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4055, allocations: 3.828 kB / 453.9 MB, free: 52.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.4056, allocations: 9.25 kB / 453.9 MB, free: 52.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.4062, allocations: 146.5 kB / 454 MB, free: 52.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.4062, allocations: 15.84 kB / 454.1 MB, free: 52.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.4067, allocations: 70.47 kB / 454.1 MB, free: 52.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.4068, allocations: 20.92 kB / 454.1 MB, free: 52.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0002124/0.407, allocations: 225.7 kB / 454.4 MB, free: 52.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.4072, allocations: 76.42 kB / 454.4 MB, free: 52.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.4074, allocations: 87.89 kB / 454.5 MB, free: 52.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4074, allocations: 7.562 kB / 454.5 MB, free: 52.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.4074, allocations: 3.891 kB / 454.5 MB, free: 52.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4074, allocations: 2.969 kB / 454.5 MB, free: 52.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.4086, allocations: 0.8562 MB / 455.4 MB, free: 51.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4086, allocations: 3.156 kB / 455.4 MB, free: 51.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/0.4092, allocations: 104.6 kB / 455.5 MB, free: 51.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.4092, allocations: 3.156 kB / 455.5 MB, free: 51.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.4093, allocations: 14.48 kB / 455.5 MB, free: 51.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.4093, allocations: 6.719 kB / 455.5 MB, free: 51.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4093, allocations: 3 kB / 455.5 MB, free: 51.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.411, allocations: 1.131 MB / 456.7 MB, free: 51.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.4113, allocations: 194.3 kB / 456.8 MB, free: 51.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-05/0.4113, allocations: 20.66 kB / 456.9 MB, free: 51.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.4119, allocations: 51.3 kB / 456.9 MB, free: 51.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.412, allocations: 36.83 kB / 457 MB, free: 51.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.412, allocations: 10.31 kB / 457 MB, free: 51.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005813/0.4126, allocations: 465.2 kB / 457.4 MB, free: 51.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4126, allocations: 0 / 457.4 MB, free: 51.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007402/0.4134, allocations: 197.2 kB / 457.6 MB, free: 51.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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 Backend phase and start with SimCode phase: time 0.0001405/0.4135, allocations: 122.1 kB / 457.7 MB, free: 51.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.4154, allocations: 0.9556 MB / 458.7 MB, free: 51.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4154, allocations: 3.438 kB / 458.7 MB, free: 51.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005594/0.416, allocations: 284.7 kB / 459 MB, free: 51.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4171, allocations: 171.9 kB / 459.1 MB, free: 51.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.4195, allocations: 1.733 MB / 460.9 MB, free: 50.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.4199, allocations: 0.9536 MB / 461.8 MB, free: 49.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004541/0.4204, allocations: 152.6 kB / 462 MB, free: 49.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4205, allocations: 44.91 kB / 462 MB, free: 49.46 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4205, allocations: 1.969 kB / 462 MB, free: 49.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01103/0.4316, allocations: 6.856 MB / 468.9 MB, free: 49.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe 2>&1)