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.001357/0.001357, allocations: 102.6 kB / 16.27 MB, free: 5.934 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.001256/0.001256, allocations: 190.9 kB / 17.2 MB, free: 5.578 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.739/1.739, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2245/0.2245, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.001655/0.001655, allocations: 68.67 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1114, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004322/0.1158, allocations: 3.556 MB / 444.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.1185, allocations: 1.442 MB / 445.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/0.1189, allocations: 27.88 kB / 445.5 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1193, allocations: 118.7 kB / 445.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.1199, allocations: 166.5 kB / 445.8 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1212, allocations: 0.5924 MB / 446.4 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008682/0.1221, allocations: 0.9405 MB / 447.4 MB, free: 48 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006633/0.1228, allocations: 296.6 kB / 447.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005375/0.1233, allocations: 370.4 kB / 448 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004747/0.1238, allocations: 362 kB / 448.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.1239, allocations: 72 kB / 448.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1241, allocations: 76 kB / 448.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.1243, allocations: 171.3 kB / 448.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.1247, allocations: 373.7 kB / 449 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1257, allocations: 0.8097 MB / 449.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1257, allocations: 4 kB / 449.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1257, allocations: 0 / 449.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.1258, allocations: 0 / 449.8 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.002537/0.1283, allocations: 1.203 MB / 451 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/0.1284, allocations: 11.89 kB / 451.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.1286, allocations: 99.75 kB / 451.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009843/0.1296, allocations: 0.5738 MB / 451.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.723e-05/0.1296, allocations: 37.38 kB / 451.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.346e-05/0.1297, allocations: 56.28 kB / 451.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.1312, allocations: 0.7036 MB / 452.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1313, allocations: 15.91 kB / 452.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.1313, allocations: 20 kB / 452.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1314, allocations: 12 kB / 452.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.1328, allocations: 0.5542 MB / 453.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/0.1359, allocations: 2.294 MB / 455.4 MB, free: 7.723 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.1377, allocations: 0.7157 MB / 456.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008262/0.1385, allocations: 330.2 kB / 456.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.987e-05/0.1386, allocations: 16.44 kB / 456.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.1386, allocations: 34.94 kB / 456.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 3.567e-06/0.1386, allocations: 3.984 kB / 456.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.004559/0.1432, allocations: 1.929 MB / 458.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1433, allocations: 192.3 kB / 458.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.1441, allocations: 0.5826 MB / 459.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.1441, allocations: 37.7 kB / 459.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.1444, allocations: 360.8 kB / 459.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.1445, allocations: 185.2 kB / 459.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.1447, allocations: 102.2 kB / 459.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1449, allocations: 326 kB / 460.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008519/0.1457, allocations: 306.8 kB / 460.5 MB, free: 2.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.1466, allocations: 410 kB / 460.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.1482, allocations: 0.659 MB / 461.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1482, allocations: 0 / 461.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001907/0.1501, allocations: 0.7906 MB / 462.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.1501, allocations: 13.19 kB / 462.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1502, allocations: 4 kB / 462.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.1502, allocations: 7.938 kB / 462.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.1511, allocations: 192 kB / 462.6 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.1511, allocations: 7.938 kB / 462.6 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.1516, allocations: 79.91 kB / 462.6 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.1517, allocations: 23.98 kB / 462.7 MB, free: 220 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008075/0.1525, allocations: 365.1 kB / 463 MB, free: 15.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006648/0.1532, allocations: 347.6 kB / 463.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001155/0.1543, allocations: 0.5436 MB / 463.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.1544, allocations: 0 / 463.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001387/0.1558, allocations: 0.6628 MB / 464.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.1558, allocations: 4 kB / 464.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1558, allocations: 4 kB / 464.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.1558, allocations: 4 kB / 464.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.1565, allocations: 168 kB / 464.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1565, allocations: 11.94 kB / 464.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.157, allocations: 55.94 kB / 464.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.157, allocations: 20 kB / 464.8 MB, free: 13.95 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.0002295/0.1572, allocations: 212.1 kB / 465 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.1574, allocations: 79.06 kB / 465.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1576, allocations: 87.52 kB / 465.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.1576, allocations: 7.938 kB / 465.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.1576, allocations: 4 kB / 465.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.1576, allocations: 7.922 kB / 465.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.1604, allocations: 1.453 MB / 466.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1604, allocations: 4.062 kB / 466.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/0.1611, allocations: 151.8 kB / 466.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.1611, allocations: 4 kB / 466.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.1611, allocations: 8 kB / 466.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1611, allocations: 3.938 kB / 466.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1612, allocations: 8 kB / 466.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.1638, allocations: 1.244 MB / 468.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.1641, allocations: 188.1 kB / 468.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.294e-05/0.1641, allocations: 15.94 kB / 468.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005448/0.1647, allocations: 79.91 kB / 468.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.1648, allocations: 47.81 kB / 468.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.1649, allocations: 19.98 kB / 468.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004256/0.1653, allocations: 407.1 kB / 468.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1653, allocations: 0 / 468.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006424/0.166, allocations: 184 kB / 469 MB, free: 9.652 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.00014/0.1661, allocations: 107.2 kB / 469.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002599/0.1687, allocations: 1 MB / 470.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1687, allocations: 0 / 470.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008569/0.1696, allocations: 356 kB / 470.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.1708, allocations: 213.9 kB / 470.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/0.174, allocations: 1.543 MB / 472.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.1745, allocations: 0.9297 MB / 473.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004401/0.1749, allocations: 93.14 kB / 473.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.1751, allocations: 59.41 kB / 473.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of SimCode: time 2.084e-06/0.1751, allocations: 0 / 473.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of Templates: time 0.01821/0.1933, allocations: 8.705 MB / 482 MB, free: 12.64 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches