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.0009592/0.0009591, allocations: 93.84 kB / 18 MB, free: 5.613 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.0009282/0.0009283, allocations: 174.7 kB / 18.91 MB, free: 4.742 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.312/1.312, allocations: 223.3 MB / 243 MB, free: 14.48 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.197/0.197, allocations: 44.25 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 8 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003811/0.1107, allocations: 3.129 MB / 476 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.1135, allocations: 1.352 MB / 477.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.1142, allocations: 27.81 kB / 477.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.1146, allocations: 75.25 kB / 477.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008609/0.1155, allocations: 123 kB / 477.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.1169, allocations: 0.5511 MB / 478.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.1183, allocations: 0.8703 MB / 479 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.1188, allocations: 280.8 kB / 479.3 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004904/0.1193, allocations: 290.4 kB / 479.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.1197, allocations: 298.1 kB / 479.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.1198, allocations: 20 kB / 479.9 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.229e-05/0.1199, allocations: 24 kB / 479.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1201, allocations: 111.3 kB / 480 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.1204, allocations: 323.5 kB / 480.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.1209, allocations: 0.5611 MB / 480.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1209, allocations: 0 / 480.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1209, allocations: 4 kB / 480.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.121, allocations: 0 / 480.9 MB, free: 5.266 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.002443/0.1234, allocations: 1.106 MB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.1235, allocations: 12.03 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1237, allocations: 95.8 kB / 482.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.1245, allocations: 0.5466 MB / 482.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.1246, allocations: 41.38 kB / 482.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.1247, allocations: 56.31 kB / 482.8 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.1263, allocations: 0.7582 MB / 483.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.1264, allocations: 3.984 kB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.796e-05/0.1264, allocations: 16 kB / 483.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1265, allocations: 12 kB / 483.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.1281, allocations: 0.644 MB / 484.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.1316, allocations: 2.352 MB / 486.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.1335, allocations: 0.8151 MB / 487.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/0.1345, allocations: 390.1 kB / 487.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.1345, allocations: 8.359 kB / 487.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1346, allocations: 42.94 kB / 487.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.324e-06/0.1346, allocations: 0 / 487.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.005143/0.1397, allocations: 2.16 MB / 490 MB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.1398, allocations: 188.4 kB / 490.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.1405, allocations: 0.5668 MB / 490.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.655e-05/0.1406, allocations: 37.7 kB / 490.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.1408, allocations: 352.8 kB / 491.1 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.141, allocations: 181.3 kB / 491.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.921e-05/0.1411, allocations: 53.69 kB / 491.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1412, allocations: 378.8 kB / 491.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000927/0.1421, allocations: 348.9 kB / 492 MB, free: 9.727 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.1431, allocations: 473.9 kB / 492.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.145, allocations: 0.7605 MB / 493.3 MB, free: 8.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.145, allocations: 0 / 493.3 MB, free: 8.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002176/0.1472, allocations: 0.9001 MB / 494.2 MB, free: 7.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.1473, allocations: 155.1 kB / 494.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.1473, allocations: 0 / 494.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1473, allocations: 8 kB / 494.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.1483, allocations: 215.7 kB / 494.5 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.1483, allocations: 11.98 kB / 494.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/0.1489, allocations: 111.9 kB / 494.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/0.149, allocations: 19.98 kB / 494.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/0.149, allocations: 4 kB / 494.7 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/0.1504, allocations: 0.6144 MB / 495.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1504, allocations: 4 kB / 495.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-06/0.1504, allocations: 4 kB / 495.3 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.1512, allocations: 179.9 kB / 495.5 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1512, allocations: 4 kB / 495.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.1516, allocations: 71.89 kB / 495.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.1517, allocations: 24.31 kB / 495.6 MB, free: 6.074 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.0003035/0.152, allocations: 265 kB / 495.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.1522, allocations: 82.98 kB / 495.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.1523, allocations: 79.28 kB / 496 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.1524, allocations: 8 kB / 496 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.1524, allocations: 3.938 kB / 496 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1524, allocations: 7.984 kB / 496 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.1554, allocations: 1.55 MB / 497.6 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1554, allocations: 3.938 kB / 497.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.1562, allocations: 175.8 kB / 497.7 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.1562, allocations: 7.984 kB / 497.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.1562, allocations: 16 kB / 497.8 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1562, allocations: 4 kB / 497.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1563, allocations: 0 / 497.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/0.1593, allocations: 1.404 MB / 499.2 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.1596, allocations: 188.1 kB / 499.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.1597, allocations: 19.98 kB / 499.4 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/0.1603, allocations: 99.92 kB / 499.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1604, allocations: 47.88 kB / 499.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.1605, allocations: 19.98 kB / 499.5 MB, free: 1.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004629/0.161, allocations: 399 kB / 499.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.161, allocations: 0 / 499.9 MB, free: 1.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007265/0.1617, allocations: 180 kB / 0.4884 GB, free: 1.43 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.0001518/0.1619, allocations: 111.7 kB / 0.4885 GB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002773/0.1646, allocations: 1.103 MB / 0.4896 GB, free: 212 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1647, allocations: 0 / 0.4896 GB, free: 212 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.1657, allocations: 415.5 kB / 0.49 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.167, allocations: 185.2 kB / 0.4901 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.1707, allocations: 1.893 MB / 0.492 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.1713, allocations: 0.9298 MB / 0.4929 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.1716, allocations: 59.36 kB / 0.4929 GB, free: 12.66 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1716, allocations: 0 / 0.4929 GB, free: 12.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01335/0.185, allocations: 8.685 MB / 0.5014 GB, free: 4.02 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