Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001037/0.001037, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 242.5 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.18 MB / 336.8 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 64.11 kB / 408.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1028, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005542/0.1084, allocations: 3.542 MB / 472.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1111, allocations: 1.356 MB / 474.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005984/0.1117, allocations: 27.81 kB / 474.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003922/0.1121, allocations: 71.25 kB / 474.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006825/0.1128, allocations: 123 kB / 474.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1141, allocations: 0.55 MB / 474.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.1152, allocations: 0.8742 MB / 475.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005029/0.1157, allocations: 288.8 kB / 476 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.1163, allocations: 322.3 kB / 476.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.1167, allocations: 338.1 kB / 476.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.1168, allocations: 36 kB / 476.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.117, allocations: 36 kB / 476.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1171, allocations: 135.3 kB / 476.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003008/0.1174, allocations: 333.8 kB / 477.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.1179, allocations: 0.5886 MB / 477.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1179, allocations: 0 / 477.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1179, allocations: 0 / 477.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.118, allocations: 0 / 477.8 MB, free: 6.18 MB / 350.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.002454/0.1204, allocations: 1.187 MB / 478.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1205, allocations: 12.02 kB / 479 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.1207, allocations: 95.81 kB / 479.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008409/0.1216, allocations: 0.5505 MB / 479.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.1216, allocations: 41.38 kB / 479.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.1217, allocations: 56.31 kB / 479.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.1232, allocations: 0.7153 MB / 480.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1232, allocations: 3.906 kB / 480.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-05/0.1233, allocations: 20 kB / 480.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1233, allocations: 16 kB / 480.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.1248, allocations: 0.558 MB / 481 MB, free: 2.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00335/0.1281, allocations: 2.278 MB / 483.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.1299, allocations: 0.7214 MB / 484 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007862/0.1307, allocations: 330.2 kB / 484.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.229e-05/0.1307, allocations: 16.25 kB / 484.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1308, allocations: 38.94 kB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.344e-06/0.1308, allocations: 0 / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004561/0.1353, allocations: 1.922 MB / 486.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.84e-05/0.1355, allocations: 188.4 kB / 486.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.1361, allocations: 0.5668 MB / 487.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/0.1362, allocations: 33.7 kB / 487.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.1364, allocations: 356.8 kB / 487.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.1366, allocations: 177.4 kB / 487.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.1368, allocations: 102.2 kB / 487.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.137, allocations: 382.8 kB / 488.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007969/0.1378, allocations: 302.9 kB / 488.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.1386, allocations: 417.9 kB / 488.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.1402, allocations: 0.6589 MB / 489.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1402, allocations: 0 / 489.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001898/0.1421, allocations: 0.7946 MB / 490.2 MB, free: 9.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1421, allocations: 4 kB / 490.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1422, allocations: 8.25 kB / 490.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1422, allocations: 7.938 kB / 490.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000848/0.143, allocations: 191.7 kB / 490.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.1431, allocations: 4 kB / 490.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/0.1436, allocations: 79.91 kB / 490.5 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.1437, allocations: 23.98 kB / 490.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007751/0.1445, allocations: 365.1 kB / 490.9 MB, free: 8.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006148/0.1451, allocations: 351.6 kB / 491.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001124/0.1462, allocations: 0.5358 MB / 491.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.1463, allocations: 4 kB / 491.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001414/0.1477, allocations: 0.659 MB / 492.5 MB, free: 6.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1477, allocations: 8 kB / 492.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1477, allocations: 0 / 492.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.186e-06/0.1477, allocations: 8 kB / 492.5 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.1484, allocations: 168 kB / 492.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.1484, allocations: 7.938 kB / 492.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.1489, allocations: 59.94 kB / 492.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.149, allocations: 19.94 kB / 492.7 MB, free: 6.617 MB / 366.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.0001916/0.1492, allocations: 216.1 kB / 492.9 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.1493, allocations: 75.06 kB / 493 MB, free: 6.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.1495, allocations: 83.27 kB / 493.1 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.1495, allocations: 7.938 kB / 493.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1495, allocations: 4 kB / 493.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1496, allocations: 0 / 493.1 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/0.1522, allocations: 1.464 MB / 494.6 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1523, allocations: 0 / 494.6 MB, free: 4.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.153, allocations: 143.8 kB / 494.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.153, allocations: 4 kB / 494.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.153, allocations: 20.05 kB / 494.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.153, allocations: 4 kB / 494.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.153, allocations: 0 / 494.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.1556, allocations: 1.248 MB / 496 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.1559, allocations: 192.1 kB / 496.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.5e-05/0.156, allocations: 12 kB / 496.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005563/0.1565, allocations: 75.91 kB / 496.3 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.1567, allocations: 47.88 kB / 496.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.1567, allocations: 23.98 kB / 496.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004486/0.1572, allocations: 391.1 kB / 496.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1572, allocations: 0 / 496.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000696/0.1579, allocations: 180 kB / 496.9 MB, free: 2.344 MB / 366.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.0001377/0.158, allocations: 115.6 kB / 497 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.1604, allocations: 0.9774 MB / 498 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1604, allocations: 4.062 kB / 498 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.1613, allocations: 351.7 kB / 498.3 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.1624, allocations: 194.6 kB / 498.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.1659, allocations: 1.798 MB / 0.4886 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.1664, allocations: 0.9221 MB / 0.4895 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.1667, allocations: 55.41 kB / 0.4895 GB, free: 13.86 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1667, allocations: 0 / 0.4895 GB, free: 13.86 MB / 382.1 MB Notification: Performance of Templates: time 0.0133/0.18, allocations: 8.771 MB / 0.4981 GB, free: 5.133 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches