Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 108 kB / 15.6 MB, free: 132 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.001471/0.001471, allocations: 199.6 kB / 16.54 MB, free: 6.672 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.646/1.646, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3399/0.3399, allocations: 39.93 MB / 309.7 MB, free: 9.277 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.2. 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.001518/0.001518, allocations: 71.89 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1438, allocations: 56.89 MB / 434.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005133/0.149, allocations: 3.34 MB / 437.8 MB, free: 296 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.1523, allocations: 1.583 MB / 439.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.1527, allocations: 23.88 kB / 439.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.1533, allocations: 150.7 kB / 439.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.1538, allocations: 190.6 kB / 439.8 MB, free: 14.34 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1549, allocations: 0.5225 MB / 440.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008489/0.1558, allocations: 0.916 MB / 441.2 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.1562, allocations: 238.4 kB / 441.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003954/0.1566, allocations: 354.5 kB / 441.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.157, allocations: 402.1 kB / 442.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.1571, allocations: 64 kB / 442.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.1573, allocations: 64 kB / 442.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.1575, allocations: 207.2 kB / 442.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.1578, allocations: 341.9 kB / 442.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006945/0.1585, allocations: 0.7512 MB / 443.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1585, allocations: 0 / 443.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1585, allocations: 0 / 443.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1585, allocations: 4 kB / 443.6 MB, free: 10.49 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.002202/0.1607, allocations: 1.172 MB / 444.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1608, allocations: 11.89 kB / 444.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.1609, allocations: 87.91 kB / 444.9 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008386/0.1617, allocations: 0.5662 MB / 445.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.1618, allocations: 37.38 kB / 445.5 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.605e-05/0.1619, allocations: 67.95 kB / 445.5 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.1629, allocations: 0.6095 MB / 446.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.163, allocations: 7.984 kB / 446.2 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.163, allocations: 16 kB / 446.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1631, allocations: 12 kB / 446.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1641, allocations: 461.8 kB / 446.6 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.1675, allocations: 2.655 MB / 449.3 MB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1686, allocations: 0.55 MB / 449.8 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.1692, allocations: 250.4 kB / 450.1 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.1692, allocations: 15.97 kB / 450.1 MB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1693, allocations: 34.56 kB / 450.1 MB, free: 3.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/0.1693, allocations: 4 kB / 450.1 MB, free: 3.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002456/0.1717, allocations: 1.132 MB / 451.3 MB, free: 2.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1718, allocations: 132.5 kB / 451.4 MB, free: 2.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009179/0.1727, allocations: 0.6606 MB / 452.1 MB, free: 1.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.1728, allocations: 33.7 kB / 452.1 MB, free: 1.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.1731, allocations: 368 kB / 452.4 MB, free: 1.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1733, allocations: 173.5 kB / 452.6 MB, free: 1.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.1735, allocations: 118.2 kB / 452.7 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1736, allocations: 330 kB / 453.1 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.1742, allocations: 267.3 kB / 453.3 MB, free: 408 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2567/0.4309, allocations: 431.6 kB / 453.7 MB, free: 51.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.4326, allocations: 0.6762 MB / 454.4 MB, free: 51.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4327, allocations: 2.312 kB / 454.4 MB, free: 51.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001894/0.4346, allocations: 0.7926 MB / 455.2 MB, free: 51.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.4346, allocations: 8.031 kB / 455.2 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.4346, allocations: 8.719 kB / 455.2 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/0.4347, allocations: 7.531 kB / 455.2 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.4354, allocations: 154.8 kB / 455.4 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.4354, allocations: 5.875 kB / 455.4 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006698/0.4361, allocations: 86.44 kB / 455.5 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.4362, allocations: 23.09 kB / 455.5 MB, free: 51.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008022/0.437, allocations: 409.4 kB / 455.9 MB, free: 51.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006039/0.4376, allocations: 417.6 kB / 456.3 MB, free: 50.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001117/0.4387, allocations: 0.6585 MB / 457 MB, free: 50.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.891e-06/0.4388, allocations: 3.062 kB / 457 MB, free: 50.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001599/0.4404, allocations: 0.7707 MB / 457.7 MB, free: 50.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4404, allocations: 12.34 kB / 457.7 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4404, allocations: 9.625 kB / 457.8 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4404, allocations: 7.281 kB / 457.8 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.441, allocations: 141.5 kB / 457.9 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.4411, allocations: 12.55 kB / 457.9 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.4417, allocations: 79.69 kB / 458 MB, free: 50.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.4417, allocations: 19.75 kB / 458 MB, free: 50.7 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.0002062/0.4419, allocations: 220.7 kB / 458.2 MB, free: 50.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.4422, allocations: 75.48 kB / 458.3 MB, free: 50.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.4424, allocations: 88.5 kB / 458.4 MB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.4424, allocations: 10.44 kB / 458.4 MB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.4425, allocations: 0 / 458.4 MB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4425, allocations: 6.828 kB / 458.4 MB, free: 50.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.4439, allocations: 0.8471 MB / 459.3 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.4439, allocations: 3.094 kB / 459.3 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006046/0.4445, allocations: 110 kB / 459.4 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.4445, allocations: 3.188 kB / 459.4 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.4446, allocations: 14.22 kB / 459.4 MB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4446, allocations: 3.219 kB / 459.4 MB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4446, allocations: 0 / 459.4 MB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.4464, allocations: 1.138 MB / 460.5 MB, free: 49.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.4467, allocations: 199.7 kB / 460.7 MB, free: 49.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4468, allocations: 13.53 kB / 460.7 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.4473, allocations: 51.56 kB / 460.8 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4475, allocations: 40.12 kB / 460.8 MB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.4475, allocations: 17.77 kB / 460.8 MB, free: 49.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005986/0.4481, allocations: 462.5 kB / 461.3 MB, free: 49.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4481, allocations: 0 / 461.3 MB, free: 49.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008104/0.4489, allocations: 197.9 kB / 461.5 MB, free: 49.07 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.000168/0.4491, allocations: 109.9 kB / 461.6 MB, free: 48.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.4516, allocations: 0.9937 MB / 462.6 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.4516, allocations: 0 / 462.6 MB, free: 48.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.4523, allocations: 277.6 kB / 462.9 MB, free: 48.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.4535, allocations: 200.5 kB / 463 MB, free: 48.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.4561, allocations: 1.506 MB / 464.6 MB, free: 47.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.4566, allocations: 0.955 MB / 465.5 MB, free: 47.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005319/0.4571, allocations: 150.4 kB / 465.7 MB, free: 47.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.4573, allocations: 45.89 kB / 465.7 MB, free: 47.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4573, allocations: 0 / 465.7 MB, free: 47.07 MB / 382.1 MB Notification: Performance of Templates: time 0.01498/0.4723, allocations: 7.456 MB / 473.2 MB, free: 46.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe 2>&1)