Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001237/0.001237, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.643/1.643, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.4141/0.4141, allocations: 39.94 MB / 309.4 MB, free: 9.656 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.001707/0.001707, allocations: 63.91 kB / 377.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1558, allocations: 56.89 MB / 434 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.007266/0.1631, allocations: 3.549 MB / 437.5 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.1668, allocations: 1.415 MB / 439 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.168, allocations: 31.81 kB / 439 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.1689, allocations: 75.23 kB / 439.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.1701, allocations: 127 kB / 439.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.1717, allocations: 0.554 MB / 439.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.1733, allocations: 0.9482 MB / 440.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005442/0.1739, allocations: 308.8 kB / 441 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005299/0.1744, allocations: 362.4 kB / 441.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003871/0.1748, allocations: 374 kB / 441.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.1749, allocations: 72 kB / 441.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.229e-05/0.175, allocations: 79.94 kB / 441.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.1752, allocations: 171.3 kB / 442 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.1755, allocations: 369.7 kB / 442.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008658/0.1763, allocations: 0.8096 MB / 443.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1764, allocations: 0 / 443.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1764, allocations: 0 / 443.2 MB, free: 11.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1764, allocations: 0 / 443.2 MB, free: 11.04 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002272/0.1787, allocations: 1.211 MB / 444.4 MB, free: 9.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1787, allocations: 15.89 kB / 444.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.1789, allocations: 91.81 kB / 444.5 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007273/0.1797, allocations: 0.5777 MB / 445.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.1797, allocations: 45.38 kB / 445.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.1798, allocations: 56.03 kB / 445.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1812, allocations: 0.6994 MB / 445.9 MB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.1812, allocations: 3.938 kB / 445.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.1813, allocations: 24 kB / 445.9 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1813, allocations: 12 kB / 445.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.1827, allocations: 0.5581 MB / 446.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.1861, allocations: 2.294 MB / 448.8 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.1877, allocations: 0.7252 MB / 449.5 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.1885, allocations: 326.2 kB / 449.8 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.1886, allocations: 8.359 kB / 449.8 MB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.1887, allocations: 38.94 kB / 449.9 MB, free: 4.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 3.066e-06/0.1887, allocations: 4 kB / 449.9 MB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004624/0.1933, allocations: 1.936 MB / 451.8 MB, free: 2.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1934, allocations: 184.4 kB / 452 MB, free: 1.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.1941, allocations: 0.5826 MB / 452.6 MB, free: 1.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.1942, allocations: 37.7 kB / 452.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.1944, allocations: 356.8 kB / 453 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1946, allocations: 181.4 kB / 453.1 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.1948, allocations: 110.2 kB / 453.2 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1949, allocations: 326 kB / 453.6 MB, free: 268 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2552/0.4501, allocations: 304.5 kB / 453.9 MB, free: 51.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009666/0.4511, allocations: 421 kB / 454.3 MB, free: 51.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.4526, allocations: 0.651 MB / 454.9 MB, free: 51.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4526, allocations: 0 / 454.9 MB, free: 51.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001797/0.4544, allocations: 0.7951 MB / 455.7 MB, free: 51.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4544, allocations: 9.531 kB / 455.7 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4544, allocations: 2.812 kB / 455.7 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4545, allocations: 5.844 kB / 455.7 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.4553, allocations: 192.4 kB / 455.9 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4553, allocations: 5.562 kB / 455.9 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.4559, allocations: 82.86 kB / 456 MB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.4559, allocations: 20.08 kB / 456 MB, free: 51.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006671/0.4566, allocations: 362.1 kB / 456.4 MB, free: 51.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005281/0.4571, allocations: 360.4 kB / 456.7 MB, free: 51.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009604/0.4581, allocations: 0.5354 MB / 457.3 MB, free: 51.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.486e-06/0.4581, allocations: 3.312 kB / 457.3 MB, free: 51.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001247/0.4594, allocations: 0.6564 MB / 457.9 MB, free: 51.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.4594, allocations: 10.44 kB / 457.9 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4594, allocations: 5.219 kB / 457.9 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.4594, allocations: 9.859 kB / 457.9 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.46, allocations: 159.3 kB / 458.1 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.46, allocations: 6.266 kB / 458.1 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.4605, allocations: 64 kB / 458.2 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.4605, allocations: 22.11 kB / 458.2 MB, free: 51.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001875/0.4607, allocations: 215.9 kB / 458.4 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4609, allocations: 69.06 kB / 458.5 MB, free: 50.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.4611, allocations: 86.83 kB / 458.6 MB, free: 50.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4611, allocations: 3.188 kB / 458.6 MB, free: 50.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.4611, allocations: 9.406 kB / 458.6 MB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4611, allocations: 3.281 kB / 458.6 MB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.4635, allocations: 1.454 MB / 460 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4635, allocations: 3.938 kB / 460 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/0.4641, allocations: 157.5 kB / 460.2 MB, free: 50.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.4642, allocations: 3.156 kB / 460.2 MB, free: 50.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.4642, allocations: 17.38 kB / 460.2 MB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4642, allocations: 0 / 460.2 MB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.4642, allocations: 4.984 kB / 460.2 MB, free: 50.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.4665, allocations: 1.248 MB / 461.5 MB, free: 49.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.4667, allocations: 190.8 kB / 461.6 MB, free: 49.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.4668, allocations: 11.22 kB / 461.7 MB, free: 49.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/0.4674, allocations: 79.41 kB / 461.7 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4675, allocations: 44.19 kB / 461.8 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.4675, allocations: 24.08 kB / 461.8 MB, free: 49.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004325/0.468, allocations: 405.7 kB / 462.2 MB, free: 49.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.468, allocations: 0 / 462.2 MB, free: 49.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000764/0.4687, allocations: 182.5 kB / 462.4 MB, free: 49.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.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 (50): * Single equations (assignments): 50 * 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.0001419/0.4689, allocations: 123.1 kB / 462.5 MB, free: 49.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002406/0.4713, allocations: 1.003 MB / 463.5 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4713, allocations: 0 / 463.5 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007522/0.4721, allocations: 355.2 kB / 463.8 MB, free: 48.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4732, allocations: 196.1 kB / 464 MB, free: 48.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00321/0.4764, allocations: 1.799 MB / 465.8 MB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.4767, allocations: 0.9263 MB / 466.8 MB, free: 47.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004635/0.4772, allocations: 95.39 kB / 466.9 MB, free: 47.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.4774, allocations: 53.42 kB / 466.9 MB, free: 47.11 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4774, allocations: 0 / 466.9 MB, free: 47.11 MB / 382.1 MB Notification: Performance of Templates: time 0.01465/0.4921, allocations: 8.435 MB / 475.3 MB, free: 46.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)