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.001111/0.001111, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001636/0.001636, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.664/1.664, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.3926/0.3926, allocations: 37.98 MB / 307.4 MB, free: 10.17 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.001409/0.001409, allocations: 74.62 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 56.46 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.004911/0.135, allocations: 3.362 MB / 434.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003221/0.1383, allocations: 1.559 MB / 436.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.1388, allocations: 23.88 kB / 436.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.1393, allocations: 115.2 kB / 436.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004781/0.1398, allocations: 159 kB / 436.4 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.141, allocations: 491.2 kB / 436.9 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009548/0.142, allocations: 0.9354 MB / 437.8 MB, free: 308 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.1424, allocations: 230.4 kB / 438 MB, free: 64 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004405/0.1428, allocations: 362.6 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.1433, allocations: 406 kB / 438.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.155e-05/0.1434, allocations: 60 kB / 438.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.1435, allocations: 64 kB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.1437, allocations: 199.3 kB / 439.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002964/0.144, allocations: 345.8 kB / 439.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007363/0.1447, allocations: 0.7589 MB / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1447, allocations: 0 / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1447, allocations: 0 / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1448, allocations: 4 kB / 440.2 MB, free: 13.89 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.002282/0.1471, allocations: 1.16 MB / 441.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1471, allocations: 11.89 kB / 441.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.1473, allocations: 95.81 kB / 441.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.1482, allocations: 0.5623 MB / 442 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.1483, allocations: 41.36 kB / 442.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.441e-05/0.1484, allocations: 56.28 kB / 442.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1496, allocations: 0.6138 MB / 442.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.1496, allocations: 4 kB / 442.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.1497, allocations: 16 kB / 442.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.1497, allocations: 19.98 kB / 442.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.1507, allocations: 465.8 kB / 443.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/0.1546, allocations: 2.663 MB / 445.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1556, allocations: 0.5502 MB / 446.5 MB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.1562, allocations: 254.4 kB / 446.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.247e-05/0.1563, allocations: 4 kB / 446.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.1563, allocations: 38.56 kB / 446.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/0.1563, allocations: 0 / 446.7 MB, free: 7.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002403/0.1587, allocations: 1.135 MB / 447.9 MB, free: 5.914 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.342e-05/0.1588, allocations: 140.5 kB / 448 MB, free: 5.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008462/0.1597, allocations: 0.649 MB / 448.7 MB, free: 5.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.1597, allocations: 37.7 kB / 448.7 MB, free: 5.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.16, allocations: 364 kB / 449.1 MB, free: 4.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1602, allocations: 173.5 kB / 449.2 MB, free: 4.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.1604, allocations: 114.2 kB / 449.3 MB, free: 4.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1605, allocations: 337.9 kB / 449.7 MB, free: 4.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006003/0.1611, allocations: 275.3 kB / 449.9 MB, free: 3.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/0.1619, allocations: 424.6 kB / 450.4 MB, free: 3.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.1632, allocations: 0.6702 MB / 451 MB, free: 2.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1632, allocations: 0 / 451 MB, free: 2.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001584/0.1648, allocations: 0.7904 MB / 451.8 MB, free: 1.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1648, allocations: 8 kB / 451.8 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1648, allocations: 8.031 kB / 451.8 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1648, allocations: 8 kB / 451.8 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.1655, allocations: 147.8 kB / 452 MB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.1655, allocations: 11.94 kB / 452 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.166, allocations: 91.47 kB / 452.1 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.1661, allocations: 20.05 kB / 452.1 MB, free: 1.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007085/0.1668, allocations: 409.3 kB / 452.5 MB, free: 1.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006246/0.1674, allocations: 420.3 kB / 452.9 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2346/0.402, allocations: 0.6585 MB / 453.6 MB, free: 52.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.067e-05/0.4021, allocations: 8.344 kB / 453.6 MB, free: 52.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001787/0.4039, allocations: 0.7675 MB / 454.3 MB, free: 52.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4039, allocations: 9.656 kB / 454.4 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4039, allocations: 6.406 kB / 454.4 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.404, allocations: 6.406 kB / 454.4 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.4046, allocations: 150.5 kB / 454.5 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4046, allocations: 10.06 kB / 454.5 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.4051, allocations: 73.48 kB / 454.6 MB, free: 52.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.4052, allocations: 23.94 kB / 454.6 MB, free: 52.77 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.0002238/0.4054, allocations: 224.9 kB / 454.8 MB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.4055, allocations: 74.84 kB / 454.9 MB, free: 52.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.4058, allocations: 92.34 kB / 455 MB, free: 52.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4058, allocations: 8.078 kB / 455 MB, free: 52.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.4058, allocations: 3.25 kB / 455 MB, free: 52.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4058, allocations: 0 / 455 MB, free: 52.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.407, allocations: 0.8497 MB / 455.9 MB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.407, allocations: 0 / 455.9 MB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.4076, allocations: 107.1 kB / 456 MB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.4076, allocations: 5.219 kB / 456 MB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.4077, allocations: 12.92 kB / 456 MB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.4077, allocations: 6.812 kB / 456 MB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4077, allocations: 2.5 kB / 456 MB, free: 52.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4094, allocations: 1.132 MB / 457.1 MB, free: 51.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.4096, allocations: 198.6 kB / 457.3 MB, free: 51.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/0.4097, allocations: 18.44 kB / 457.3 MB, free: 51.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.4102, allocations: 54.86 kB / 457.4 MB, free: 51.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.4104, allocations: 33.67 kB / 457.4 MB, free: 51.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.4104, allocations: 13.88 kB / 457.4 MB, free: 51.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005805/0.411, allocations: 462.8 kB / 457.9 MB, free: 51.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.411, allocations: 0 / 457.9 MB, free: 51.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007822/0.4118, allocations: 193.5 kB / 458.1 MB, free: 51.8 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.0001332/0.4119, allocations: 119 kB / 458.2 MB, free: 51.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.4138, allocations: 0.9885 MB / 459.2 MB, free: 51.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4138, allocations: 0 / 459.2 MB, free: 51.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.4144, allocations: 280.9 kB / 459.5 MB, free: 51.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4155, allocations: 189.1 kB / 459.6 MB, free: 51.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.4179, allocations: 1.743 MB / 461.4 MB, free: 50.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4184, allocations: 0.954 MB / 462.3 MB, free: 49.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005405/0.419, allocations: 149.9 kB / 462.5 MB, free: 49.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.4191, allocations: 46.7 kB / 462.5 MB, free: 49.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.224e-06/0.4191, allocations: 0 / 462.5 MB, free: 49.71 MB / 382.1 MB Notification: Performance of Templates: time 0.01222/0.4314, allocations: 7.198 MB / 469.7 MB, free: 49.29 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)