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.001621/0.001621, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001043/0.001043, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 0.9877/0.9877, allocations: 177 MB / 204.8 MB, free: 5.574 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.2633/0.2633, allocations: 34.87 MB / 296.3 MB, free: 0.5312 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.122e-06/1.122e-06, allocations: 0 / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.656e-05, allocations: 4.703 kB / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003486/0.003502, allocations: 3.324 MB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.00561, allocations: 1.476 MB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.00597, allocations: 35.69 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.006202, allocations: 106.7 kB / 383.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.006619, allocations: 178.3 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000973/0.007592, allocations: 0.6356 MB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008164/0.008409, allocations: 0.9599 MB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.008713, allocations: 201 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005571/0.00927, allocations: 0.5104 MB / 386.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.009508, allocations: 263.1 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-05/0.009589, allocations: 76 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.757e-05/0.009687, allocations: 80 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.009778, allocations: 183.2 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.01017, allocations: 223.3 kB / 387 MB, free: 9.824 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.01075, allocations: 0.5835 MB / 387.6 MB, free: 9.238 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01075, allocations: 3.984 kB / 387.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01075, allocations: 0 / 387.6 MB, free: 9.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.01076, allocations: 0 / 387.6 MB, free: 9.234 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.001322/0.01208, allocations: 1.176 MB / 388.7 MB, free: 8.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.01212, allocations: 8.031 kB / 388.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.01244, allocations: 180.3 kB / 388.9 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005592/0.013, allocations: 0.5579 MB / 389.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.01304, allocations: 45.38 kB / 389.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.0131, allocations: 60.27 kB / 389.6 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007743/0.01388, allocations: 0.8027 MB / 390.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.01389, allocations: 192 / 390.4 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.01393, allocations: 24.38 kB / 390.4 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.01394, allocations: 19.94 kB / 390.4 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.01428, allocations: 209.7 kB / 390.6 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.01613, allocations: 2.392 MB / 393 MB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.01666, allocations: 337.6 kB / 393.4 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.01684, allocations: 124.1 kB / 393.5 MB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.01688, allocations: 12.36 kB / 393.5 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.0169, allocations: 49.7 kB / 393.5 MB, free: 2.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.493e-06/0.0169, allocations: 0 / 393.5 MB, free: 2.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001706/0.01861, allocations: 1.046 MB / 394.6 MB, free: 1.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.01869, allocations: 239.8 kB / 394.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.01914, allocations: 0.5815 MB / 395.4 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.01917, allocations: 37.7 kB / 395.4 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.01937, allocations: 415.8 kB / 395.8 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.01947, allocations: 190.5 kB / 396 MB, free: 336 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.01959, allocations: 116 kB / 396.1 MB, free: 212 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01971, allocations: 0.4925 MB / 396.6 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.01989, allocations: 102.2 kB / 396.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.02018, allocations: 428.1 kB / 397.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.02056, allocations: 310.7 kB / 397.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.02056, allocations: 0 / 397.5 MB, free: 14.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005444/0.0211, allocations: 448.9 kB / 397.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.02112, allocations: 4 kB / 397.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.02112, allocations: 4 kB / 397.9 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.02114, allocations: 8.25 kB / 397.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/0.02163, allocations: 167.8 kB / 398.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.02164, allocations: 7.938 kB / 398.1 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.02185, allocations: 55.94 kB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.02188, allocations: 27.94 kB / 398.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002334/0.02211, allocations: 216.1 kB / 398.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00029/0.0224, allocations: 419.6 kB / 398.8 MB, free: 13.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003522/0.02276, allocations: 315.8 kB / 399.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.02276, allocations: 0 / 399.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004749/0.02323, allocations: 428.8 kB / 399.5 MB, free: 12.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.02324, allocations: 4.312 kB / 399.5 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.02324, allocations: 8 kB / 399.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.02325, allocations: 4 kB / 399.5 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.02361, allocations: 147.8 kB / 399.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.02362, allocations: 8 kB / 399.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.02382, allocations: 47.95 kB / 399.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.02384, allocations: 20 kB / 399.8 MB, free: 12.26 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.0001327/0.02397, allocations: 307.9 kB / 400.1 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.02406, allocations: 87.53 kB / 400.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.698e-05/0.02416, allocations: 87.27 kB / 400.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.02416, allocations: 4 kB / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.02417, allocations: 0 / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02418, allocations: 7.984 kB / 400.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.02554, allocations: 0.9852 MB / 401.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02554, allocations: 128 / 401.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.02585, allocations: 131.8 kB / 401.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.309e-06/0.02586, allocations: 7.922 kB / 401.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.02588, allocations: 15.98 kB / 401.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.02588, allocations: 0 / 401.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02589, allocations: 4 kB / 401.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.0266, allocations: 0.7508 MB / 402.1 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.02674, allocations: 123.3 kB / 402.2 MB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.02679, allocations: 15.98 kB / 402.3 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.02702, allocations: 51.95 kB / 402.3 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.0271, allocations: 39.92 kB / 402.4 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.02712, allocations: 19.98 kB / 402.4 MB, free: 9.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002551/0.02737, allocations: 387 kB / 402.8 MB, free: 9.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02737, allocations: 0 / 402.8 MB, free: 9.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.02779, allocations: 180 kB / 402.9 MB, free: 9 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.0001021/0.02789, allocations: 111.2 kB / 403 MB, free: 8.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.02856, allocations: 491.7 kB / 403.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02856, allocations: 0 / 403.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.02877, allocations: 168.2 kB / 403.7 MB, free: 8.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.02937, allocations: 213.9 kB / 403.9 MB, free: 8.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.03082, allocations: 1.172 MB / 405.1 MB, free: 6.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.783e-05/0.03092, allocations: 146.5 kB / 405.2 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.03116, allocations: 100.8 kB / 405.3 MB, free: 6.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.03131, allocations: 56.48 kB / 405.4 MB, free: 6.488 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03132, allocations: 0 / 405.4 MB, free: 6.488 MB / 378.7 MB Notification: Performance of Templates: time 0.01215/0.04346, allocations: 9.409 MB / 414.8 MB, free: 13.22 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.5349555951543152]