Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.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.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 110.7 kB / 17.04 MB, free: 5.812 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.001333/0.001333, allocations: 196 kB / 17.97 MB, free: 5.027 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.446/1.446, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2056/0.2056, allocations: 43.52 MB / 314.7 MB, free: 496 kB / 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.001503/0.001503, allocations: 67.3 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004643/0.1173, allocations: 4.395 MB / 446.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002514/0.1198, allocations: 1.602 MB / 448 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.1202, allocations: 35.81 kB / 448 MB, free: 88 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.1206, allocations: 162.2 kB / 448.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.121, allocations: 170.2 kB / 448.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1221, allocations: 0.5844 MB / 448.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009945/0.1231, allocations: 1.043 MB / 450 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006147/0.1237, allocations: 443.1 kB / 450.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.1241, allocations: 370.2 kB / 450.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.1244, allocations: 393.6 kB / 451.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1245, allocations: 84 kB / 451.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.1246, allocations: 88 kB / 451.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1248, allocations: 199.2 kB / 451.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.1251, allocations: 449.2 kB / 451.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008681/0.126, allocations: 1.035 MB / 453 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.126, allocations: 0 / 453 MB, free: 11.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1261, allocations: 3.938 kB / 453 MB, free: 11.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.1261, allocations: 0 / 453 MB, free: 11.08 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00198/0.1281, allocations: 1.304 MB / 454.3 MB, free: 9.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1281, allocations: 8.031 kB / 454.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.1283, allocations: 123.4 kB / 454.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1293, allocations: 0.6865 MB / 455.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.1294, allocations: 49.69 kB / 455.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.1295, allocations: 60.38 kB / 455.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.1306, allocations: 0.7508 MB / 456 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1306, allocations: 0 / 456 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/0.1307, allocations: 32 kB / 456 MB, free: 7.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.1307, allocations: 16 kB / 456 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1318, allocations: 0.5423 MB / 456.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.135, allocations: 2.714 MB / 459.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.1363, allocations: 0.6671 MB / 459.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.1368, allocations: 283.2 kB / 460.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.144e-05/0.1369, allocations: 8 kB / 460.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.1369, allocations: 42.56 kB / 460.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 1.973e-06/0.1369, allocations: 0 / 460.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=52): time 0.001704/0.1387, allocations: 0.7948 MB / 461 MB, free: 2.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1388, allocations: 243.3 kB / 461.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007469/0.1395, allocations: 0.7127 MB / 462 MB, free: 1.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.1396, allocations: 33.7 kB / 462 MB, free: 1.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.1399, allocations: 452.3 kB / 462.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.1401, allocations: 185.3 kB / 462.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.1402, allocations: 98.23 kB / 462.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1403, allocations: 334 kB / 463.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.1408, allocations: 231 kB / 463.3 MB, free: 356 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.1414, allocations: 360 kB / 463.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.1424, allocations: 0.5641 MB / 464.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1424, allocations: 4 kB / 464.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0024/0.1448, allocations: 1.041 MB / 465.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1448, allocations: 8.031 kB / 465.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1448, allocations: 4 kB / 465.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.146, allocations: 315.1 kB / 465.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.1465, allocations: 127.9 kB / 465.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008206/0.1547, allocations: 7.267 MB / 473 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004602/0.1552, allocations: 79.34 kB / 473.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.1553, allocations: 27.92 kB / 473.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005899/0.1559, allocations: 345.2 kB / 473.4 MB, free: 5.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004752/0.1563, allocations: 332 kB / 473.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008327/0.1572, allocations: 0.4949 MB / 474.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.1572, allocations: 4 kB / 474.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00148/0.1587, allocations: 0.7356 MB / 475 MB, free: 3.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1587, allocations: 8 kB / 475 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1587, allocations: 4 kB / 475 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/0.1592, allocations: 141.9 kB / 475.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.1599, allocations: 167.8 kB / 475.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.1634, allocations: 3.438 MB / 478.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.1639, allocations: 59.56 kB / 478.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.164, allocations: 20 kB / 478.8 MB, free: 15.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.1642, allocations: 224 kB / 479 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.1644, allocations: 90.94 kB / 479.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.1646, allocations: 107.4 kB / 479.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.1646, allocations: 8.031 kB / 479.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1646, allocations: 4.188 kB / 479.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.1646, allocations: 0 / 479.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.1657, allocations: 0.7428 MB / 480 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.1657, allocations: 4 kB / 480 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.1663, allocations: 103.9 kB / 480.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.1663, allocations: 4 kB / 480.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.1663, allocations: 19.98 kB / 480.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.1663, allocations: 4 kB / 480.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1664, allocations: 3.938 kB / 480.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.1682, allocations: 1.201 MB / 481.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002802/0.1684, allocations: 219.8 kB / 481.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.406e-05/0.1686, allocations: 15.98 kB / 481.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.169, allocations: 31.97 kB / 481.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.1691, allocations: 39.89 kB / 481.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.1692, allocations: 12 kB / 481.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005675/0.1698, allocations: 0.4911 MB / 482.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1698, allocations: 4 kB / 482.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009428/0.1707, allocations: 283.1 kB / 482.4 MB, free: 12.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * 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.0001438/0.1709, allocations: 107.2 kB / 482.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003769/0.1746, allocations: 1.877 MB / 484.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1747, allocations: 3.938 kB / 484.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.1752, allocations: 291.5 kB / 484.7 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.1765, allocations: 243.9 kB / 484.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.1792, allocations: 1.505 MB / 486.4 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.1798, allocations: 0.9887 MB / 487.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003986/0.1803, allocations: 97.3 kB / 487.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.1804, allocations: 47.44 kB / 487.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1804, allocations: 0 / 487.5 MB, free: 6.816 MB / 366.1 MB Notification: Performance of Templates: time 0.02313/0.2036, allocations: 12.23 MB / 499.8 MB, free: 10.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches