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.001586/0.001586, allocations: 108.3 kB / 18.39 MB, free: 4.785 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.001867/0.001867, allocations: 191 kB / 19.33 MB, free: 3.852 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.345/1.345, allocations: 222.9 MB / 243 MB, free: 15.16 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.2032/0.2032, allocations: 44.17 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 60.59 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1213, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004616/0.126, allocations: 3.519 MB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.1286, allocations: 1.387 MB / 475.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.1289, allocations: 27.81 kB / 475.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1292, allocations: 110.7 kB / 475.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004639/0.1297, allocations: 170.5 kB / 475.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1309, allocations: 0.5886 MB / 476.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008635/0.1318, allocations: 0.9406 MB / 477.4 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.1322, allocations: 292.5 kB / 477.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00042/0.1326, allocations: 366.5 kB / 478.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003572/0.133, allocations: 366 kB / 478.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1331, allocations: 75.98 kB / 478.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.1332, allocations: 72 kB / 478.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1334, allocations: 171.3 kB / 478.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.1336, allocations: 361.8 kB / 479.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006952/0.1343, allocations: 0.8365 MB / 479.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1344, allocations: 0 / 479.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1344, allocations: 0 / 479.9 MB, free: 4.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.1344, allocations: 0 / 479.9 MB, free: 4.375 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.002054/0.1364, allocations: 1.194 MB / 481.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1365, allocations: 11.97 kB / 481.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.1366, allocations: 99.8 kB / 481.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008833/0.1375, allocations: 0.5818 MB / 481.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/0.1376, allocations: 45.38 kB / 481.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.369e-05/0.1377, allocations: 52.38 kB / 481.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.139, allocations: 0.7074 MB / 482.6 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.139, allocations: 3.906 kB / 482.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.1391, allocations: 24 kB / 482.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.1391, allocations: 12 kB / 482.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1405, allocations: 0.5581 MB / 483.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.1436, allocations: 2.267 MB / 485.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.1452, allocations: 0.7228 MB / 486.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007663/0.146, allocations: 326.2 kB / 486.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/0.1461, allocations: 16.44 kB / 486.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.1461, allocations: 34.94 kB / 486.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.805e-06/0.1461, allocations: 3.938 kB / 486.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004336/0.1505, allocations: 1.922 MB / 488.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.1506, allocations: 192.3 kB / 488.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/0.1513, allocations: 0.5668 MB / 489.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.1513, allocations: 37.7 kB / 489.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.1516, allocations: 348.8 kB / 489.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1517, allocations: 177.4 kB / 489.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.1519, allocations: 106.2 kB / 489.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1521, allocations: 382.8 kB / 490.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/0.1529, allocations: 306.9 kB / 490.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.1537, allocations: 414 kB / 491 MB, free: 8.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.1552, allocations: 0.6511 MB / 491.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1552, allocations: 4 kB / 491.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001884/0.1571, allocations: 0.7906 MB / 492.4 MB, free: 7.375 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.1572, allocations: 8 kB / 492.4 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1572, allocations: 4.25 kB / 492.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.1572, allocations: 11.94 kB / 492.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.1581, allocations: 191.7 kB / 492.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.148e-05/0.1581, allocations: 7.984 kB / 492.6 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/0.1586, allocations: 83.92 kB / 492.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.1587, allocations: 19.98 kB / 492.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007074/0.1594, allocations: 361.1 kB / 493.1 MB, free: 6.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006087/0.16, allocations: 355.6 kB / 493.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001077/0.1611, allocations: 0.5436 MB / 494 MB, free: 5.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.1611, allocations: 0 / 494 MB, free: 5.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001404/0.1625, allocations: 0.6551 MB / 494.6 MB, free: 5.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1626, allocations: 8 kB / 494.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1626, allocations: 4 kB / 494.7 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.176e-06/0.1626, allocations: 4 kB / 494.7 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.1633, allocations: 168 kB / 494.8 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1633, allocations: 7.938 kB / 494.8 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.1638, allocations: 59.94 kB / 494.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.1638, allocations: 20 kB / 494.9 MB, free: 4.793 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.000193/0.164, allocations: 212.1 kB / 495.1 MB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.1642, allocations: 75.06 kB / 495.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1644, allocations: 87.27 kB / 495.3 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1644, allocations: 7.938 kB / 495.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1644, allocations: 0 / 495.3 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1644, allocations: 3.984 kB / 495.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.1672, allocations: 1.457 MB / 496.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1672, allocations: 0 / 496.7 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000713/0.1679, allocations: 151.8 kB / 496.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-06/0.1679, allocations: 0 / 496.9 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/0.168, allocations: 15.98 kB / 496.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.168, allocations: 4.062 kB / 496.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.168, allocations: 4 kB / 496.9 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.1706, allocations: 1.245 MB / 498.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.1708, allocations: 192 kB / 498.4 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.1709, allocations: 16 kB / 498.4 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.1715, allocations: 79.91 kB / 498.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.1716, allocations: 47.81 kB / 498.5 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.1717, allocations: 16 kB / 498.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004778/0.1722, allocations: 399.1 kB / 498.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1722, allocations: 0 / 498.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007286/0.1729, allocations: 180 kB / 499.1 MB, free: 0.5156 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.0001542/0.1731, allocations: 111.2 kB / 499.2 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.1755, allocations: 0.977 MB / 0.4884 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1755, allocations: 0.5 kB / 0.4884 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000832/0.1764, allocations: 355.7 kB / 0.4888 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.1774, allocations: 202.7 kB / 0.489 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.1807, allocations: 1.487 MB / 0.4904 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.1813, allocations: 0.9179 MB / 0.4913 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004224/0.1817, allocations: 93.06 kB / 0.4914 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.1819, allocations: 59.36 kB / 0.4915 GB, free: 12.26 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1819, allocations: 4 kB / 0.4915 GB, free: 12.26 MB / 382.1 MB Notification: Performance of Templates: time 0.01558/0.1975, allocations: 8.673 MB / 0.4999 GB, free: 3.68 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 -s gbode -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