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.001758/0.001758, allocations: 111 kB / 17.04 MB, free: 6.074 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.002018/0.002018, allocations: 196 kB / 17.97 MB, free: 5.156 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.49/1.49, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2039/0.2039, allocations: 43.52 MB / 314.7 MB, free: 488 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.001587/0.001587, allocations: 70.19 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1006, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004115/0.1048, allocations: 3.552 MB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1072, allocations: 1.442 MB / 447 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005271/0.1078, allocations: 27.81 kB / 447 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003247/0.1081, allocations: 110.7 kB / 447.1 MB, free: 1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005932/0.1087, allocations: 170.4 kB / 447.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.1098, allocations: 0.604 MB / 447.9 MB, free: 240 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.111, allocations: 0.9405 MB / 448.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004496/0.1115, allocations: 300.5 kB / 449.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004863/0.112, allocations: 362.5 kB / 449.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.1123, allocations: 366 kB / 449.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.1125, allocations: 72 kB / 449.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.1126, allocations: 76 kB / 450 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.1127, allocations: 179.2 kB / 450.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.113, allocations: 373.7 kB / 450.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000747/0.1137, allocations: 0.8406 MB / 451.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1138, allocations: 0 / 451.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1138, allocations: 0 / 451.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1138, allocations: 0 / 451.3 MB, free: 12.74 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.002115/0.1159, allocations: 1.207 MB / 452.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.116, allocations: 15.89 kB / 452.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1161, allocations: 91.81 kB / 452.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.117, allocations: 0.6129 MB / 453.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.1171, allocations: 37.38 kB / 453.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.1172, allocations: 60.27 kB / 453.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.1185, allocations: 0.7074 MB / 454.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1185, allocations: 0 / 454.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.1185, allocations: 28 kB / 454.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.1186, allocations: 12 kB / 454.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.1199, allocations: 0.5542 MB / 454.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.123, allocations: 2.29 MB / 456.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.1246, allocations: 0.708 MB / 457.7 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/0.1253, allocations: 334.2 kB / 458 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/0.1254, allocations: 8.359 kB / 458 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.1255, allocations: 42.88 kB / 458 MB, free: 5.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.874e-06/0.1255, allocations: 0 / 458 MB, free: 5.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.004343/0.1298, allocations: 1.921 MB / 460 MB, free: 3.789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.882e-05/0.1299, allocations: 192.3 kB / 460.1 MB, free: 3.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.1305, allocations: 0.5826 MB / 460.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.1306, allocations: 37.7 kB / 460.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.1308, allocations: 360.8 kB / 461.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.131, allocations: 185.3 kB / 461.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1311, allocations: 106.2 kB / 461.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1312, allocations: 322 kB / 461.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/0.132, allocations: 306.9 kB / 462 MB, free: 1.652 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008322/0.1328, allocations: 414 kB / 462.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.1343, allocations: 0.6512 MB / 463.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1343, allocations: 8 kB / 463.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001775/0.1361, allocations: 0.7906 MB / 463.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1361, allocations: 4 kB / 463.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.1361, allocations: 4 kB / 463.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1362, allocations: 7.938 kB / 463.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/0.137, allocations: 196 kB / 464.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.1371, allocations: 4 kB / 464.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.1376, allocations: 88.12 kB / 464.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.1376, allocations: 20 kB / 464.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007/0.1383, allocations: 361.1 kB / 464.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006127/0.139, allocations: 355.5 kB / 464.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001085/0.14, allocations: 0.5398 MB / 465.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.679e-06/0.1401, allocations: 4 kB / 465.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001327/0.1414, allocations: 0.6628 MB / 466.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1414, allocations: 8 kB / 466.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1414, allocations: 0 / 466.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/0.1414, allocations: 8 kB / 466.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.1421, allocations: 164 kB / 466.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1421, allocations: 19.86 kB / 466.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.1426, allocations: 59.94 kB / 466.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.1426, allocations: 16 kB / 466.4 MB, free: 13.12 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.0001976/0.1428, allocations: 216.1 kB / 466.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.143, allocations: 75.06 kB / 466.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.1432, allocations: 91.52 kB / 466.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.1432, allocations: 7.938 kB / 466.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1432, allocations: 3.938 kB / 466.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1432, allocations: 0 / 466.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.1459, allocations: 1.45 MB / 468.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1459, allocations: 4 kB / 468.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/0.1466, allocations: 151.8 kB / 468.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.1466, allocations: 4 kB / 468.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.1467, allocations: 15.98 kB / 468.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1467, allocations: 4 kB / 468.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1467, allocations: 0 / 468.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.1493, allocations: 1.249 MB / 469.6 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.1495, allocations: 196 kB / 469.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.1496, allocations: 12 kB / 469.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.1502, allocations: 79.91 kB / 469.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.1503, allocations: 43.88 kB / 469.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.1504, allocations: 19.98 kB / 470 MB, free: 9.402 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004896/0.1509, allocations: 407.1 kB / 470.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1509, allocations: 0 / 470.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007116/0.1516, allocations: 180 kB / 470.5 MB, free: 8.836 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.0001452/0.1517, allocations: 115.2 kB / 470.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.1541, allocations: 0.981 MB / 471.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1541, allocations: 0 / 471.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000839/0.1549, allocations: 355.8 kB / 472 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.1559, allocations: 215.1 kB / 472.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.1591, allocations: 1.516 MB / 473.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.1596, allocations: 0.9219 MB / 474.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003781/0.16, allocations: 92.89 kB / 474.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.1602, allocations: 59.41 kB / 474.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1602, allocations: 0 / 474.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of Templates: time 0.01458/0.1747, allocations: 8.705 MB / 483.5 MB, free: 11.87 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 -s gbode -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