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.001095/0.001095, allocations: 103 kB / 15.06 MB, free: 1.098 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.001527/0.001526, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.4497/0.4497, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0006791/0.000679, allocations: 12 kB / 376.4 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1613, allocations: 57.53 MB / 433.9 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003923/0.1653, allocations: 2.812 MB / 436.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.1687, allocations: 1.49 MB / 438.2 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000709/0.1695, allocations: 19.88 kB / 438.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.1701, allocations: 95.27 kB / 438.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.1709, allocations: 195.4 kB / 438.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1723, allocations: 399.3 kB / 438.9 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.1735, allocations: 0.5928 MB / 439.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.1739, allocations: 185.1 kB / 439.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006461/0.1746, allocations: 306.7 kB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.1752, allocations: 330.3 kB / 440.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.1754, allocations: 20 kB / 440.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.1755, allocations: 20 kB / 440.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.1757, allocations: 147.5 kB / 440.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.1759, allocations: 133.3 kB / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.1764, allocations: 0.53 MB / 441.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1764, allocations: 0 / 441.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1765, allocations: 0 / 441.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.696e-05/0.1765, allocations: 4 kB / 441.2 MB, free: 14.3 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.002981/0.1795, allocations: 1.063 MB / 442.2 MB, free: 13.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.1796, allocations: 8.031 kB / 442.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.1799, allocations: 98.91 kB / 442.3 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.1814, allocations: 0.5343 MB / 442.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.939e-05/0.1815, allocations: 40.94 kB / 442.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1816, allocations: 55.91 kB / 443 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.183, allocations: 0.6251 MB / 443.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.183, allocations: 0 / 443.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.183, allocations: 20 kB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1831, allocations: 8 kB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.1842, allocations: 0.4939 MB / 444.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/0.1887, allocations: 2.694 MB / 446.8 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1901, allocations: 0.5858 MB / 447.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.1902, allocations: 4 kB / 447.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.1902, allocations: 46.55 kB / 447.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.1902, allocations: 0 / 447.4 MB, free: 7.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002687/0.1929, allocations: 1.207 MB / 448.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.193, allocations: 136.5 kB / 448.8 MB, free: 6.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009363/0.194, allocations: 0.6452 MB / 449.4 MB, free: 5.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.1941, allocations: 33.7 kB / 449.5 MB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.1945, allocations: 368 kB / 449.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.1947, allocations: 173.5 kB / 450 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.1947, allocations: 12 kB / 450 MB, free: 5.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1949, allocations: 334 kB / 450.3 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/0.1955, allocations: 281.1 kB / 450.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/0.1964, allocations: 445.2 kB / 451 MB, free: 4.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007955/0.1972, allocations: 333.2 kB / 451.4 MB, free: 3.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1972, allocations: 4 kB / 451.4 MB, free: 3.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001781/0.199, allocations: 0.8332 MB / 452.2 MB, free: 2.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.2001, allocations: 1.746 MB / 453.9 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.2002, allocations: 4 kB / 453.9 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.2002, allocations: 11.94 kB / 454 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006823/0.2009, allocations: 171.7 kB / 454.1 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.2009, allocations: 4 kB / 454.1 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.2015, allocations: 95.53 kB / 454.2 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.594e-05/0.2016, allocations: 24 kB / 454.2 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.2016, allocations: 0 / 454.2 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2582/0.4598, allocations: 0.7094 MB / 455 MB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4598, allocations: 5.312 kB / 455 MB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4599, allocations: 9.047 kB / 455 MB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/0.4607, allocations: 156 kB / 455.1 MB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.4607, allocations: 18.84 kB / 455.1 MB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006738/0.4614, allocations: 83.64 kB / 455.2 MB, free: 49.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.4614, allocations: 21.33 kB / 455.2 MB, free: 49.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004748/0.4619, allocations: 287.1 kB / 455.5 MB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4621, allocations: 73.27 kB / 455.6 MB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.4623, allocations: 91.08 kB / 455.7 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4623, allocations: 9.406 kB / 455.7 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.4623, allocations: 2.562 kB / 455.7 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.4623, allocations: 8.156 kB / 455.7 MB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.4636, allocations: 0.8575 MB / 456.6 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4636, allocations: 0 / 456.6 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/0.4642, allocations: 121.3 kB / 456.7 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.4642, allocations: 3.156 kB / 456.7 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.4642, allocations: 17.88 kB / 456.7 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4643, allocations: 3.406 kB / 456.7 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4643, allocations: 2.75 kB / 456.7 MB, free: 48.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.4661, allocations: 1.233 MB / 457.9 MB, free: 48.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.4663, allocations: 194.8 kB / 458.1 MB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.755e-05/0.4664, allocations: 17.58 kB / 458.1 MB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.4669, allocations: 59.11 kB / 458.2 MB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.467, allocations: 39.56 kB / 458.2 MB, free: 48.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.467, allocations: 13.38 kB / 458.3 MB, free: 48.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005165/0.4676, allocations: 457.1 kB / 458.7 MB, free: 48.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4676, allocations: 3.969 kB / 458.7 MB, free: 48.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007458/0.4683, allocations: 195.1 kB / 458.9 MB, free: 48.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001156/0.4684, allocations: 112.7 kB / 459 MB, free: 48.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.4704, allocations: 1.015 MB / 460 MB, free: 48.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4704, allocations: 0 / 460 MB, free: 48.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.4709, allocations: 309.7 kB / 460.3 MB, free: 48.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.4718, allocations: 168.3 kB / 460.5 MB, free: 48.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4741, allocations: 1.717 MB / 462.2 MB, free: 47.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.4745, allocations: 0.966 MB / 463.2 MB, free: 46.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004254/0.4749, allocations: 146.1 kB / 463.3 MB, free: 46.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.4751, allocations: 47.66 kB / 463.4 MB, free: 46.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.4751, allocations: 1.203 kB / 463.4 MB, free: 46.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01112/0.4862, allocations: 6.557 MB / 469.9 MB, free: 46.42 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: