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.001047/0.001047, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001087/0.001087, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.277/1.277, allocations: 222.9 MB / 242.6 MB, free: 13.74 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.1945/0.1945, allocations: 44.18 MB / 336.9 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.33 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1091, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004517/0.1137, allocations: 3.534 MB / 472.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.116, allocations: 1.36 MB / 474.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.1163, allocations: 27.81 kB / 474.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.1165, allocations: 83.23 kB / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004913/0.117, allocations: 119 kB / 474.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1181, allocations: 0.5451 MB / 475 MB, free: 9.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009275/0.1191, allocations: 0.9289 MB / 476 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.1195, allocations: 296.8 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004542/0.12, allocations: 370.3 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000369/0.1204, allocations: 366.1 kB / 477 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.1205, allocations: 72 kB / 477 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.1206, allocations: 75.94 kB / 477.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1207, allocations: 171.3 kB / 477.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.121, allocations: 361.8 kB / 477.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.1216, allocations: 0.608 MB / 478.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1216, allocations: 0 / 478.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1216, allocations: 0 / 478.2 MB, free: 5.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1216, allocations: 0 / 478.2 MB, free: 5.809 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.002177/0.1238, allocations: 1.191 MB / 479.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.1239, allocations: 12.03 kB / 479.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.124, allocations: 95.81 kB / 479.5 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/0.1248, allocations: 0.5506 MB / 480.1 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.1248, allocations: 41.38 kB / 480.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.1249, allocations: 48.38 kB / 480.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.1263, allocations: 0.7113 MB / 480.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.1264, allocations: 3.906 kB / 480.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.1265, allocations: 24 kB / 480.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.1265, allocations: 15.98 kB / 480.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.1279, allocations: 0.5581 MB / 481.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/0.131, allocations: 2.286 MB / 483.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.1327, allocations: 0.7209 MB / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.1335, allocations: 326.2 kB / 484.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.1336, allocations: 16.36 kB / 484.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.1336, allocations: 42.94 kB / 484.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.1336, allocations: 0 / 484.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004625/0.1383, allocations: 1.922 MB / 486.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.416e-05/0.1384, allocations: 188.4 kB / 487 MB, free: 12.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.139, allocations: 0.5629 MB / 487.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.1391, allocations: 37.7 kB / 487.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.1393, allocations: 352.8 kB / 487.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.1395, allocations: 181.4 kB / 488.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.1397, allocations: 110.2 kB / 488.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1398, allocations: 378.8 kB / 488.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000772/0.1406, allocations: 302.8 kB / 488.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/0.1415, allocations: 421.9 kB / 489.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.143, allocations: 0.6511 MB / 489.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.143, allocations: 0 / 489.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001853/0.1449, allocations: 0.7985 MB / 490.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1449, allocations: 4 kB / 490.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1449, allocations: 4 kB / 490.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.1449, allocations: 7.938 kB / 490.8 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008523/0.1458, allocations: 195.9 kB / 490.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.1458, allocations: 4 kB / 491 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/0.1464, allocations: 79.84 kB / 491 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.1464, allocations: 23.98 kB / 491.1 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007027/0.1471, allocations: 361.1 kB / 491.4 MB, free: 8.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006216/0.1478, allocations: 355.6 kB / 491.8 MB, free: 7.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001095/0.1489, allocations: 0.532 MB / 492.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.404e-06/0.1489, allocations: 4 kB / 492.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001362/0.1502, allocations: 0.6589 MB / 492.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1503, allocations: 8.312 kB / 493 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1503, allocations: 4 kB / 493 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.1503, allocations: 11.94 kB / 493 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/0.151, allocations: 159.8 kB / 493.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.151, allocations: 11.88 kB / 493.1 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.1515, allocations: 63.94 kB / 493.2 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.1515, allocations: 20 kB / 493.2 MB, free: 6.238 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.0002183/0.1517, allocations: 212.1 kB / 493.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1519, allocations: 71.06 kB / 493.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.1521, allocations: 87.27 kB / 493.6 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.1521, allocations: 11.94 kB / 493.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1521, allocations: 0 / 493.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1521, allocations: 4 kB / 493.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.1547, allocations: 1.452 MB / 495.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1547, allocations: 192 / 495.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006818/0.1554, allocations: 151.9 kB / 495.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.1554, allocations: 4 kB / 495.2 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.1555, allocations: 19.97 kB / 495.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.1555, allocations: 4 kB / 495.2 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1555, allocations: 0 / 495.2 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.158, allocations: 1.252 MB / 496.5 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/0.1583, allocations: 192 kB / 496.7 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.1584, allocations: 12 kB / 496.7 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005424/0.1589, allocations: 79.91 kB / 496.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.1591, allocations: 43.88 kB / 496.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.1591, allocations: 19.94 kB / 496.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004604/0.1596, allocations: 395.1 kB / 497.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1596, allocations: 0 / 497.2 MB, free: 2.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000698/0.1603, allocations: 180 kB / 497.4 MB, free: 1.965 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.0001564/0.1604, allocations: 115.8 kB / 497.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.163, allocations: 1.005 MB / 498.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.163, allocations: 0 / 498.5 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008157/0.1638, allocations: 355.8 kB / 498.8 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.1649, allocations: 203.2 kB / 499 MB, free: 308 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.1682, allocations: 1.789 MB / 0.4891 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.1687, allocations: 0.9257 MB / 0.49 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.1689, allocations: 55.41 kB / 0.4901 GB, free: 13.46 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1689, allocations: 0 / 0.4901 GB, free: 13.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01146/0.1804, allocations: 8.788 MB / 0.4986 GB, free: 4.715 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