Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005823/0.005823, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001313/0.001313, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.554/1.554, allocations: 205.1 MB / 222.7 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.48/0.48, allocations: 43.5 MB / 313.5 MB, free: 8.504 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: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.03 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1548, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.006143/0.161, allocations: 3.561 MB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.1642, allocations: 1.423 MB / 444.8 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004237/0.1647, allocations: 27.88 kB / 444.8 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1651, allocations: 79.17 kB / 444.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.1656, allocations: 123 kB / 445 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1667, allocations: 0.5539 MB / 445.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009136/0.1677, allocations: 0.878 MB / 446.5 MB, free: 8.156 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.1682, allocations: 304.8 kB / 446.8 MB, free: 7.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004338/0.1686, allocations: 330.3 kB / 447.1 MB, free: 7.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.169, allocations: 334.1 kB / 447.4 MB, free: 7.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.1691, allocations: 36 kB / 447.4 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.1692, allocations: 36 kB / 447.5 MB, free: 7.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1693, allocations: 143.2 kB / 447.6 MB, free: 6.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.1697, allocations: 333.7 kB / 447.9 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007331/0.1704, allocations: 0.7667 MB / 448.7 MB, free: 5.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1704, allocations: 4 kB / 448.7 MB, free: 5.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1704, allocations: 0 / 448.7 MB, free: 5.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.1704, allocations: 0 / 448.7 MB, free: 5.883 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.002357/0.1728, allocations: 1.211 MB / 449.9 MB, free: 4.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1729, allocations: 12.02 kB / 449.9 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.173, allocations: 95.81 kB / 450 MB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008116/0.1738, allocations: 0.5699 MB / 450.6 MB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.1739, allocations: 37.38 kB / 450.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.703e-05/0.174, allocations: 56.28 kB / 450.7 MB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.1755, allocations: 0.7113 MB / 451.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1755, allocations: 4 kB / 451.4 MB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.1756, allocations: 20 kB / 451.4 MB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.1756, allocations: 12 kB / 451.4 MB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.1771, allocations: 0.5619 MB / 452 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.1807, allocations: 2.29 MB / 454.3 MB, free: 72 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2211/0.4018, allocations: 0.7114 MB / 455 MB, free: 48.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.4026, allocations: 332.2 kB / 455.3 MB, free: 48.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.482e-05/0.4026, allocations: 9.328 kB / 455.3 MB, free: 48.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.4027, allocations: 45.53 kB / 455.4 MB, free: 48.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.434e-06/0.4027, allocations: 0 / 455.4 MB, free: 48.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004177/0.4069, allocations: 1.927 MB / 457.3 MB, free: 48.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.4069, allocations: 188.9 kB / 457.5 MB, free: 48.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006152/0.4076, allocations: 0.5809 MB / 458.1 MB, free: 47.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.4076, allocations: 37.33 kB / 458.1 MB, free: 47.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.4078, allocations: 366.8 kB / 458.5 MB, free: 47.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/0.4079, allocations: 171.6 kB / 458.6 MB, free: 47.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.4081, allocations: 111.9 kB / 458.7 MB, free: 47.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.496e-05/0.4081, allocations: 325.5 kB / 459.1 MB, free: 47.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006649/0.4088, allocations: 305.7 kB / 459.4 MB, free: 47.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/0.4095, allocations: 416.1 kB / 459.8 MB, free: 47.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.4108, allocations: 0.6552 MB / 460.4 MB, free: 47.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4108, allocations: 5.219 kB / 460.4 MB, free: 47.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001598/0.4125, allocations: 0.7891 MB / 461.2 MB, free: 46.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4125, allocations: 10.05 kB / 461.2 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4125, allocations: 2.688 kB / 461.2 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.4125, allocations: 5.281 kB / 461.2 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.4134, allocations: 194.7 kB / 461.4 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.4134, allocations: 3.75 kB / 461.4 MB, free: 46.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004881/0.4139, allocations: 85.52 kB / 461.5 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.4139, allocations: 21.77 kB / 461.5 MB, free: 46.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006565/0.4146, allocations: 372.3 kB / 461.9 MB, free: 46.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005474/0.4151, allocations: 351.3 kB / 462.2 MB, free: 46.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009688/0.4161, allocations: 0.536 MB / 462.8 MB, free: 46.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/0.4161, allocations: 6.375 kB / 462.8 MB, free: 46.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.00118/0.4173, allocations: 0.6544 MB / 463.4 MB, free: 45.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.4173, allocations: 6.312 kB / 463.4 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4173, allocations: 2.938 kB / 463.4 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/0.4174, allocations: 2.969 kB / 463.4 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.418, allocations: 167 kB / 463.6 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.418, allocations: 6 kB / 463.6 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.4184, allocations: 64.52 kB / 463.7 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.4184, allocations: 16.19 kB / 463.7 MB, free: 45.86 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.000172/0.4186, allocations: 228.6 kB / 463.9 MB, free: 45.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.4188, allocations: 73.44 kB / 464 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.4189, allocations: 86.48 kB / 464.1 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4189, allocations: 3.25 kB / 464.1 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.4189, allocations: 3.156 kB / 464.1 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.419, allocations: 3.844 kB / 464.1 MB, free: 45.56 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.4213, allocations: 1.457 MB / 465.5 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4213, allocations: 3.219 kB / 465.5 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.4219, allocations: 149.6 kB / 465.7 MB, free: 44.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.422, allocations: 3 kB / 465.7 MB, free: 44.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.422, allocations: 18.28 kB / 465.7 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.422, allocations: 6.875 kB / 465.7 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.422, allocations: 3.094 kB / 465.7 MB, free: 44.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.4243, allocations: 1.25 MB / 467 MB, free: 44.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.4245, allocations: 189.4 kB / 467.2 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/0.4246, allocations: 18.72 kB / 467.2 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.4251, allocations: 71.34 kB / 467.2 MB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.4252, allocations: 43.66 kB / 467.3 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4252, allocations: 20.2 kB / 467.3 MB, free: 44.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003796/0.4256, allocations: 408.4 kB / 467.7 MB, free: 43.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4256, allocations: 0 / 467.7 MB, free: 43.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006506/0.4263, allocations: 184 kB / 467.9 MB, free: 43.91 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.0001316/0.4264, allocations: 112.3 kB / 468 MB, free: 43.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.4284, allocations: 0.9825 MB / 469 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4285, allocations: 4.391 kB / 469 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007007/0.4292, allocations: 359.4 kB / 469.3 MB, free: 43.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.4303, allocations: 189.5 kB / 469.5 MB, free: 43.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.4333, allocations: 1.784 MB / 471.3 MB, free: 42.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.4336, allocations: 0.9321 MB / 472.2 MB, free: 41.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004112/0.434, allocations: 91.08 kB / 472.3 MB, free: 41.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001876/0.4342, allocations: 49.81 kB / 472.4 MB, free: 41.72 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4342, allocations: 4 kB / 472.4 MB, free: 41.72 MB / 382.1 MB Notification: Performance of Templates: time 0.01335/0.4476, allocations: 8.047 MB / 480.4 MB, free: 41.21 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches