Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001316, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 157.3 kB / 24.99 MB, free: 8.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.01/1.01, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2623/0.2623, allocations: 34.87 MB / 296.6 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.StrictLimiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 3.938 kB / 378.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.586e-05, allocations: 7.719 kB / 378.7 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003186/0.003202, allocations: 3.308 MB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.00515, allocations: 1.468 MB / 383.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.005407, allocations: 35.69 kB / 383.6 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.005619, allocations: 114.7 kB / 383.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.005978, allocations: 174.4 kB / 383.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000787/0.006765, allocations: 0.6356 MB / 384.5 MB, free: 12.65 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.007439, allocations: 0.9599 MB / 385.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/0.00772, allocations: 193 kB / 385.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004855/0.008206, allocations: 0.5182 MB / 386.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003583/0.008564, allocations: 267.1 kB / 386.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.985e-05/0.008644, allocations: 72 kB / 386.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.216e-05/0.008726, allocations: 76 kB / 386.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.008815, allocations: 187.2 kB / 386.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.008946, allocations: 219.3 kB / 386.9 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.009404, allocations: 0.5874 MB / 387.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.009405, allocations: 0 / 387.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.009406, allocations: 0 / 387.5 MB, free: 9.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.009412, allocations: 3.984 kB / 387.5 MB, free: 9.574 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.00117/0.01058, allocations: 1.18 MB / 388.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.01061, allocations: 8.031 kB / 388.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.01093, allocations: 172.3 kB / 388.9 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.01148, allocations: 0.5618 MB / 389.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.01152, allocations: 41.36 kB / 389.5 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.01159, allocations: 60.33 kB / 389.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.01235, allocations: 0.8128 MB / 390.4 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01237, allocations: 4.188 kB / 390.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.649e-05/0.0124, allocations: 20.38 kB / 390.4 MB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.01241, allocations: 15.94 kB / 390.4 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.01278, allocations: 209.7 kB / 390.6 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.01458, allocations: 2.396 MB / 393 MB, free: 3.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.01511, allocations: 341.7 kB / 393.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003125/0.01542, allocations: 128 kB / 393.5 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.01545, allocations: 8.375 kB / 393.5 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.01548, allocations: 41.77 kB / 393.5 MB, free: 3.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.743e-06/0.01548, allocations: 0 / 393.5 MB, free: 3.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.00136/0.01684, allocations: 1.046 MB / 394.6 MB, free: 2.195 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.01691, allocations: 239.8 kB / 394.8 MB, free: 1.906 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.01732, allocations: 0.5854 MB / 395.4 MB, free: 1.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.01735, allocations: 37.7 kB / 395.4 MB, free: 1.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.01755, allocations: 407.9 kB / 395.8 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/0.01764, allocations: 190.4 kB / 396 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.01775, allocations: 116 kB / 396.1 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.01786, allocations: 0.4925 MB / 396.6 MB, free: 52 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.01805, allocations: 102.2 kB / 396.7 MB, free: 15.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.01834, allocations: 432.1 kB / 397.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.01871, allocations: 310.7 kB / 397.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01871, allocations: 0 / 397.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005312/0.01924, allocations: 452.9 kB / 397.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.01925, allocations: 8 kB / 397.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01926, allocations: 4 kB / 397.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01927, allocations: 4 kB / 397.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.01975, allocations: 159.8 kB / 398 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.01975, allocations: 7.938 kB / 398.1 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.01996, allocations: 68.09 kB / 398.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.01998, allocations: 19.94 kB / 398.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002241/0.02021, allocations: 216.1 kB / 398.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002723/0.02048, allocations: 423.6 kB / 398.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003291/0.02081, allocations: 315.8 kB / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.02081, allocations: 0 / 399.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004724/0.02128, allocations: 424.9 kB / 399.5 MB, free: 12.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.02129, allocations: 11.98 kB / 399.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.02129, allocations: 4 kB / 399.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.0213, allocations: 4 kB / 399.5 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.02166, allocations: 147.8 kB / 399.7 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.02167, allocations: 8.219 kB / 399.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.02186, allocations: 51.95 kB / 399.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.02188, allocations: 20 kB / 399.7 MB, free: 12.59 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.0001239/0.022, allocations: 296 kB / 400 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.323e-05/0.0221, allocations: 95.53 kB / 400.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.626e-05/0.02218, allocations: 79.27 kB / 400.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02219, allocations: 11.94 kB / 400.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.02219, allocations: 0 / 400.2 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.0222, allocations: 7.984 kB / 400.2 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.02338, allocations: 0.9732 MB / 401.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.02338, allocations: 4 kB / 401.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.0237, allocations: 127.9 kB / 401.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.02371, allocations: 7.938 kB / 401.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.02373, allocations: 20.05 kB / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.02374, allocations: 4 kB / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02374, allocations: 0 / 401.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.02447, allocations: 0.7546 MB / 402.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.0246, allocations: 115.4 kB / 402.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.02465, allocations: 16.08 kB / 402.2 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.02489, allocations: 51.95 kB / 402.3 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.02497, allocations: 51.91 kB / 402.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.02499, allocations: 19.98 kB / 402.3 MB, free: 9.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.02525, allocations: 383 kB / 402.7 MB, free: 9.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02525, allocations: 0 / 402.7 MB, free: 9.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.02568, allocations: 180 kB / 402.9 MB, free: 9.34 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 9.213e-05/0.02577, allocations: 111.2 kB / 403 MB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.02645, allocations: 490.5 kB / 403.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.02645, allocations: 4 kB / 403.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.02665, allocations: 164.2 kB / 403.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.02724, allocations: 215 kB / 403.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.02862, allocations: 1.164 MB / 405 MB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.631e-05/0.0287, allocations: 146.5 kB / 405.2 MB, free: 6.984 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.02895, allocations: 105 kB / 405.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.02908, allocations: 56.48 kB / 405.3 MB, free: 6.824 MB / 378.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02908, allocations: 3.938 kB / 405.3 MB, free: 6.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01069/0.03977, allocations: 9.401 MB / 414.7 MB, free: 13.57 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.214468279853463]