Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009775/0.0009775, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009721/0.0009721, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2664/0.2664, allocations: 34.27 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.83e-05, allocations: 2.312 kB / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005214/0.005243, allocations: 3.32 MB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003846/0.009089, allocations: 1.464 MB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.009565, allocations: 39.69 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.009908, allocations: 110.7 kB / 382.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006092/0.01052, allocations: 174.3 kB / 383.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.01186, allocations: 0.6357 MB / 383.8 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.01305, allocations: 0.956 MB / 384.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.01354, allocations: 205 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.01442, allocations: 0.5104 MB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003882/0.01481, allocations: 267.1 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.01494, allocations: 72 kB / 385.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.01508, allocations: 76 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.01526, allocations: 187.2 kB / 386 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.01556, allocations: 223.3 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007778/0.01634, allocations: 0.5835 MB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.01634, allocations: 3.938 kB / 386.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.01634, allocations: 4 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.01635, allocations: 0 / 386.8 MB, free: 10.11 MB / 362.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.002069/0.01842, allocations: 1.176 MB / 388 MB, free: 8.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.01846, allocations: 8.031 kB / 388 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005347/0.019, allocations: 176.3 kB / 388.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.01987, allocations: 0.5579 MB / 388.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.01994, allocations: 37.38 kB / 388.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.02004, allocations: 68.25 kB / 388.8 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.02127, allocations: 0.8027 MB / 389.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.02129, allocations: 8.172 kB / 389.6 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.02135, allocations: 16.38 kB / 389.7 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.02137, allocations: 15.94 kB / 389.7 MB, free: 7.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005977/0.02197, allocations: 209.7 kB / 389.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.02516, allocations: 2.388 MB / 392.3 MB, free: 4.379 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/0.02604, allocations: 346.6 kB / 392.6 MB, free: 4.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.02633, allocations: 124.1 kB / 392.7 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.02638, allocations: 12.38 kB / 392.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.02642, allocations: 45.7 kB / 392.8 MB, free: 3.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.495e-06/0.02642, allocations: 0 / 392.8 MB, free: 3.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.002269/0.02869, allocations: 1.04 MB / 393.8 MB, free: 2.746 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.0288, allocations: 247.8 kB / 394.1 MB, free: 2.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.02946, allocations: 0.5776 MB / 394.6 MB, free: 1.855 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.02951, allocations: 37.7 kB / 394.7 MB, free: 1.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.02981, allocations: 415.8 kB / 395.1 MB, free: 1.398 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.02996, allocations: 182.5 kB / 395.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.03016, allocations: 112 kB / 395.4 MB, free: 1.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.03033, allocations: 0.5003 MB / 395.9 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.03062, allocations: 102.2 kB / 396 MB, free: 500 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.0311, allocations: 428.1 kB / 396.4 MB, free: 15.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.03171, allocations: 314.9 kB / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.03171, allocations: 4 kB / 396.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009116/0.03262, allocations: 452.9 kB / 397.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.03264, allocations: 8 kB / 397.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.03265, allocations: 7.984 kB / 397.2 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.03267, allocations: 4 kB / 397.2 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.03326, allocations: 168 kB / 397.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.03327, allocations: 4 kB / 397.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.03348, allocations: 59.89 kB / 397.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.03351, allocations: 23.92 kB / 397.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002477/0.03376, allocations: 220.1 kB / 397.6 MB, free: 14.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002899/0.03405, allocations: 419.6 kB / 398 MB, free: 14.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003577/0.03441, allocations: 319.8 kB / 398.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.03441, allocations: 0 / 398.4 MB, free: 13.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004966/0.0349, allocations: 420.8 kB / 398.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.03491, allocations: 8 kB / 398.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.03492, allocations: 4 kB / 398.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.03492, allocations: 4 kB / 398.8 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.03529, allocations: 156.1 kB / 398.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.0353, allocations: 4 kB / 398.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.03549, allocations: 51.95 kB / 399 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.03551, allocations: 20 kB / 399 MB, free: 13.13 MB / 378.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 (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.0001448/0.03566, allocations: 299.9 kB / 399.3 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.03576, allocations: 99.48 kB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.659e-05/0.03586, allocations: 83.27 kB / 399.5 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.03586, allocations: 8 kB / 399.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.03587, allocations: 0 / 399.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.03587, allocations: 0 / 399.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.03698, allocations: 0.9797 MB / 400.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.03698, allocations: 0 / 400.5 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.03729, allocations: 127.8 kB / 400.6 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.03729, allocations: 7.938 kB / 400.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.03732, allocations: 12 kB / 400.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.03732, allocations: 7.984 kB / 400.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03732, allocations: 0 / 400.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.0381, allocations: 0.7457 MB / 401.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.03824, allocations: 115.4 kB / 401.5 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.03829, allocations: 15.94 kB / 401.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.03853, allocations: 59.94 kB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.03861, allocations: 43.92 kB / 401.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.03864, allocations: 24.05 kB / 401.6 MB, free: 10.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002758/0.03891, allocations: 387 kB / 402 MB, free: 10.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03891, allocations: 0 / 402 MB, free: 10.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004434/0.03936, allocations: 180 kB / 402.2 MB, free: 9.883 MB / 378.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.0001149/0.03947, allocations: 115.2 kB / 402.3 MB, free: 9.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007338/0.0402, allocations: 490.7 kB / 402.8 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.04021, allocations: 0 / 402.8 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.04043, allocations: 165.7 kB / 402.9 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/0.04108, allocations: 228.9 kB / 403.1 MB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.04263, allocations: 1.168 MB / 404.3 MB, free: 7.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.04274, allocations: 146.5 kB / 404.5 MB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002659/0.04301, allocations: 93.06 kB / 404.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.04314, allocations: 60.47 kB / 404.6 MB, free: 7.363 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04314, allocations: 0 / 404.6 MB, free: 7.363 MB / 378.7 MB Notification: Performance of Templates: time 0.01157/0.05471, allocations: 9.408 MB / 414 MB, free: 14.11 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.279027187032625]