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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 173 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.091/1.091, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1674/0.1674, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5093,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=5093,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.167e-05, allocations: 6.25 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003014/0.003036, allocations: 3.299 MB / 351.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.00502, allocations: 1.438 MB / 352.9 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.005399, allocations: 35.69 kB / 352.9 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.005619, allocations: 110.7 kB / 353 MB, free: 4.262 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.006017, allocations: 182.4 kB / 353.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007545/0.006771, allocations: 0.6005 MB / 353.8 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000747/0.007518, allocations: 0.9715 MB / 354.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.007864, allocations: 201 kB / 354.9 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005822/0.008446, allocations: 0.5066 MB / 355.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.008676, allocations: 275 kB / 355.7 MB, free: 1.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.278e-05/0.008749, allocations: 72 kB / 355.8 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.458e-05/0.008803, allocations: 76 kB / 355.9 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.008871, allocations: 179.2 kB / 356 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.008979, allocations: 231.3 kB / 356.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.009457, allocations: 0.5796 MB / 356.8 MB, free: 396 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.00946, allocations: 3.938 kB / 356.8 MB, free: 392 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.009462, allocations: 0 / 356.8 MB, free: 392 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.009472, allocations: 0 / 356.8 MB, free: 392 kB / 282.7 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.001346/0.01082, allocations: 1.195 MB / 358 MB, free: 15.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.01087, allocations: 12.03 kB / 358.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.01106, allocations: 140.3 kB / 358.2 MB, free: 15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.01168, allocations: 0.5657 MB / 358.8 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.01173, allocations: 45.38 kB / 358.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.0118, allocations: 56.33 kB / 358.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.01249, allocations: 0.6984 MB / 359.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.0125, allocations: 4.188 kB / 359.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.266e-05/0.01253, allocations: 20.38 kB / 359.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01255, allocations: 19.92 kB / 359.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.01278, allocations: 170.7 kB / 359.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.01485, allocations: 2.299 MB / 362.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.01533, allocations: 315.5 kB / 362.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.01545, allocations: 111.7 kB / 362.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.0155, allocations: 16.31 kB / 362.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.01554, allocations: 49.77 kB / 362.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.853e-06/0.01554, allocations: 0 / 362.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.001139/0.01668, allocations: 0.7518 MB / 363.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/0.01677, allocations: 192.4 kB / 363.5 MB, free: 9.379 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.01716, allocations: 0.5772 MB / 364.1 MB, free: 8.785 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.01721, allocations: 37.7 kB / 364.1 MB, free: 8.742 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.01745, allocations: 415.8 kB / 364.5 MB, free: 8.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.01756, allocations: 186.3 kB / 364.7 MB, free: 8.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.0177, allocations: 119.9 kB / 364.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.01785, allocations: 0.4964 MB / 365.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.01798, allocations: 82.25 kB / 365.4 MB, free: 7.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.0182, allocations: 333.3 kB / 365.7 MB, free: 7.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.01848, allocations: 282.6 kB / 366 MB, free: 6.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01848, allocations: 0 / 366 MB, free: 6.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004786/0.01896, allocations: 400.9 kB / 366.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.01899, allocations: 4 kB / 366.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.019, allocations: 4 kB / 366.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.01902, allocations: 8.25 kB / 366.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.01952, allocations: 171.7 kB / 366.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.01953, allocations: 7.938 kB / 366.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.01974, allocations: 51.95 kB / 366.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.01977, allocations: 28.25 kB / 366.6 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001953/0.01996, allocations: 200.1 kB / 366.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002217/0.02018, allocations: 336.7 kB / 367.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002759/0.02046, allocations: 295.8 kB / 367.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.02046, allocations: 0 / 367.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004017/0.02086, allocations: 384.9 kB / 367.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.02088, allocations: 8.312 kB / 367.8 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.02088, allocations: 4 kB / 367.8 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.02089, allocations: 8 kB / 367.9 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.02125, allocations: 143.8 kB / 368 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.02126, allocations: 8 kB / 368 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.02143, allocations: 47.91 kB / 368 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.02145, allocations: 16 kB / 368.1 MB, free: 4.465 MB / 298.7 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 (limIntegrator1.local_reset,limIntegrator2.local_reset,PID1.I.local_reset,PID2.I.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.0001513/0.0216, allocations: 311.8 kB / 368.4 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.02169, allocations: 95.53 kB / 368.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.93e-05/0.02179, allocations: 83.42 kB / 368.5 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.0218, allocations: 4 kB / 368.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.0218, allocations: 0 / 368.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.02181, allocations: 3.984 kB / 368.5 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.02301, allocations: 0.8644 MB / 369.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.02302, allocations: 4.062 kB / 369.4 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.02334, allocations: 127.8 kB / 369.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.02335, allocations: 0 / 369.5 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.02337, allocations: 19.98 kB / 369.6 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.02338, allocations: 3.938 kB / 369.6 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.02338, allocations: 4 kB / 369.6 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.02405, allocations: 0.7027 MB / 370.3 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.02422, allocations: 123.4 kB / 370.4 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.02427, allocations: 15.88 kB / 370.4 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.02453, allocations: 55.94 kB / 370.5 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.02462, allocations: 43.92 kB / 370.5 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.02464, allocations: 11.98 kB / 370.5 MB, free: 1.918 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002303/0.02487, allocations: 366.9 kB / 370.9 MB, free: 1.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.02487, allocations: 4 kB / 370.9 MB, free: 1.562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005029/0.02537, allocations: 180 kB / 371.1 MB, free: 1.387 MB / 298.7 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.000144/0.02552, allocations: 111.2 kB / 371.2 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.02616, allocations: 431.6 kB / 371.6 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.02617, allocations: 4.062 kB / 371.6 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.02635, allocations: 148.4 kB / 371.7 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.027, allocations: 220.4 kB / 371.9 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.02879, allocations: 1.269 MB / 373.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.899e-05/0.02888, allocations: 142.6 kB / 373.4 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.0292, allocations: 100.8 kB / 373.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.02958, allocations: 254 kB / 373.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.373e-06/0.02958, allocations: 8 kB / 373.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of Templates: time 0.01455/0.04413, allocations: 10.28 MB / 384 MB, free: 4.469 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5963899181224406]