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.001133/0.001133, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001344/0.001344, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.622/1.622, allocations: 205.1 MB / 223.7 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.234/0.234, allocations: 43.52 MB / 314.6 MB, free: 0.5312 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.001528/0.001528, allocations: 70.22 kB / 383.4 MB, free: 56.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1204, allocations: 57.8 MB / 441.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00414/0.1246, allocations: 3.557 MB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.1271, allocations: 1.442 MB / 446.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.1275, allocations: 27.81 kB / 446.2 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1278, allocations: 114.7 kB / 446.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004819/0.1283, allocations: 170.5 kB / 446.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1294, allocations: 0.5961 MB / 447.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.13, allocations: 0.9328 MB / 448 MB, free: 56 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005148/0.1306, allocations: 312.5 kB / 448.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.131, allocations: 358.5 kB / 448.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003836/0.1314, allocations: 370 kB / 449 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1316, allocations: 72 kB / 449.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1317, allocations: 72 kB / 449.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1318, allocations: 175.3 kB / 449.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.1321, allocations: 365.7 kB / 449.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007995/0.1329, allocations: 0.8135 MB / 450.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.133, allocations: 8 kB / 450.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.133, allocations: 0 / 450.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.133, allocations: 0 / 450.5 MB, free: 13.53 MB / 334.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.002236/0.1352, allocations: 1.203 MB / 451.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1353, allocations: 11.89 kB / 451.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1354, allocations: 95.81 kB / 451.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007697/0.1362, allocations: 0.5738 MB / 452.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.1363, allocations: 37.38 kB / 452.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.1364, allocations: 60.28 kB / 452.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.1378, allocations: 0.6996 MB / 453.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.1378, allocations: 11.98 kB / 453.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.1379, allocations: 20 kB / 453.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.1379, allocations: 12 kB / 453.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.1394, allocations: 0.5503 MB / 453.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/0.1426, allocations: 2.302 MB / 456.1 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.1444, allocations: 0.7177 MB / 456.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008314/0.1452, allocations: 326.2 kB / 457.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.488e-05/0.1453, allocations: 4.375 kB / 457.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.1453, allocations: 42.88 kB / 457.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.515e-06/0.1454, allocations: 0 / 457.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.004825/0.1502, allocations: 1.921 MB / 459.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.1503, allocations: 200.3 kB / 459.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.151, allocations: 0.5826 MB / 459.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.1511, allocations: 37.7 kB / 459.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.1514, allocations: 360.7 kB / 460.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.1515, allocations: 181.4 kB / 460.4 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.1517, allocations: 106.2 kB / 460.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1519, allocations: 330 kB / 460.9 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008665/0.1527, allocations: 302.9 kB / 461.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009243/0.1537, allocations: 410 kB / 461.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.1553, allocations: 0.6551 MB / 462.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1553, allocations: 0 / 462.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002004/0.1573, allocations: 0.7984 MB / 463 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1574, allocations: 4 kB / 463 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1574, allocations: 8 kB / 463 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.1574, allocations: 7.938 kB / 463 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.1583, allocations: 192 kB / 463.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1583, allocations: 8 kB / 463.2 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000571/0.1589, allocations: 79.91 kB / 463.3 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.159, allocations: 23.98 kB / 463.3 MB, free: 228 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000805/0.1598, allocations: 365.1 kB / 463.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006473/0.1604, allocations: 351.6 kB / 464 MB, free: 15.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00116/0.1616, allocations: 0.5362 MB / 464.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.604e-06/0.1616, allocations: 0 / 464.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001422/0.1631, allocations: 0.6628 MB / 465.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1631, allocations: 8 kB / 465.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.1631, allocations: 4 kB / 465.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1631, allocations: 4 kB / 465.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/0.1638, allocations: 168 kB / 465.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1639, allocations: 7.938 kB / 465.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.1643, allocations: 59.94 kB / 465.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.1644, allocations: 16 kB / 465.5 MB, free: 13.96 MB / 350.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.000235/0.1646, allocations: 221.2 kB / 465.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.1648, allocations: 79.06 kB / 465.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.165, allocations: 83.52 kB / 465.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.165, allocations: 7.938 kB / 465.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.165, allocations: 0 / 465.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.165, allocations: 7.984 kB / 465.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.1678, allocations: 1.457 MB / 467.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1678, allocations: 4.062 kB / 467.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007166/0.1685, allocations: 155.7 kB / 467.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1685, allocations: 0 / 467.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.1686, allocations: 16 kB / 467.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1686, allocations: 0 / 467.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1686, allocations: 8 kB / 467.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.1713, allocations: 1.248 MB / 468.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.1716, allocations: 192 kB / 469 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.71e-05/0.1717, allocations: 8 kB / 469 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005697/0.1722, allocations: 79.91 kB / 469 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.1724, allocations: 47.88 kB / 469.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.1724, allocations: 19.98 kB / 469.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004817/0.1729, allocations: 407.1 kB / 469.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1729, allocations: 0 / 469.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000719/0.1736, allocations: 184 kB / 469.7 MB, free: 9.656 MB / 350.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.0001577/0.1738, allocations: 111.2 kB / 469.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.1764, allocations: 1.004 MB / 470.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1765, allocations: 0 / 470.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008921/0.1774, allocations: 348 kB / 471.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.1785, allocations: 214.2 kB / 471.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.1819, allocations: 1.58 MB / 472.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/0.1824, allocations: 0.9297 MB / 473.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/0.1827, allocations: 59.41 kB / 473.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1827, allocations: 4 kB / 473.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of Templates: time 0.01391/0.1966, allocations: 8.917 MB / 482.8 MB, free: 12.46 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches