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.001607/0.001607, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001655/0.001655, allocations: 159 kB / 25.61 MB, free: 8.578 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 0.9861/0.9861, allocations: 177 MB / 205.9 MB, free: 4.426 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.1769/0.1769, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.714e-06/1.714e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.942e-05, allocations: 4.141 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00268/0.002699, allocations: 3.263 MB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.004374, allocations: 1.484 MB / 384.7 MB, free: 17.97 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.00464, allocations: 35.69 kB / 384.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.004845, allocations: 126.6 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003461/0.005191, allocations: 166.5 kB / 385.1 MB, free: 17.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.005848, allocations: 0.6317 MB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00058/0.006428, allocations: 0.956 MB / 386.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.006698, allocations: 204.9 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.007202, allocations: 0.5105 MB / 387.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.007409, allocations: 267 kB / 387.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.789e-05/0.007477, allocations: 76 kB / 387.7 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.00756, allocations: 76 kB / 387.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.007635, allocations: 179.3 kB / 387.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.007746, allocations: 223.3 kB / 388.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.008161, allocations: 0.5951 MB / 388.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.008164, allocations: 0 / 388.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.008165, allocations: 0 / 388.8 MB, free: 13.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.008171, allocations: 4 kB / 388.8 MB, free: 13.92 MB / 314.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.001045/0.009216, allocations: 1.188 MB / 389.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.009256, allocations: 12.03 kB / 390 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.009548, allocations: 168.3 kB / 390.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.01, allocations: 0.554 MB / 390.7 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.01004, allocations: 37.38 kB / 390.7 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.01009, allocations: 64.3 kB / 390.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.01061, allocations: 0.7715 MB / 391.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.01063, allocations: 192 / 391.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.01066, allocations: 28.31 kB / 391.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.01067, allocations: 15.94 kB / 391.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.01086, allocations: 162.7 kB / 391.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.01225, allocations: 2.314 MB / 394.1 MB, free: 8.348 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.01264, allocations: 316.1 kB / 394.4 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.01275, allocations: 100.1 kB / 394.5 MB, free: 7.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.01278, allocations: 12.36 kB / 394.5 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.01281, allocations: 41.77 kB / 394.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 1.533e-06/0.01281, allocations: 0 / 394.5 MB, free: 7.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0009515/0.01376, allocations: 0.759 MB / 395.3 MB, free: 7.055 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.01381, allocations: 239.8 kB / 395.5 MB, free: 6.766 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.01409, allocations: 0.5733 MB / 396.1 MB, free: 6.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.01412, allocations: 37.7 kB / 396.1 MB, free: 6.133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.01427, allocations: 407.8 kB / 396.5 MB, free: 5.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.802e-05/0.01435, allocations: 194.3 kB / 396.7 MB, free: 5.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.01446, allocations: 115.9 kB / 396.8 MB, free: 5.418 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.026e-05/0.01451, allocations: 0.4964 MB / 397.3 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.01462, allocations: 82.25 kB / 397.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.01479, allocations: 404.1 kB / 397.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.01502, allocations: 278.7 kB / 398.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01502, allocations: 4 kB / 398.1 MB, free: 4.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003828/0.01541, allocations: 408.8 kB / 398.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01542, allocations: 10.03 kB / 398.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.01543, allocations: 0 / 398.5 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01544, allocations: 8 kB / 398.5 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.01588, allocations: 164.2 kB / 398.7 MB, free: 3.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01589, allocations: 8 kB / 398.7 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.01608, allocations: 55.95 kB / 398.7 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.01611, allocations: 19.98 kB / 398.7 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001505/0.01626, allocations: 200.1 kB / 398.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001512/0.01641, allocations: 403.5 kB / 399.3 MB, free: 2.637 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002046/0.01661, allocations: 295.7 kB / 399.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.01662, allocations: 3.938 kB / 399.6 MB, free: 2.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0003331/0.01695, allocations: 388.8 kB / 400 MB, free: 1.906 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.01696, allocations: 8 kB / 400 MB, free: 1.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.01696, allocations: 4 kB / 400 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-06/0.01696, allocations: 4 kB / 400 MB, free: 1.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.0173, allocations: 156.1 kB / 400.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.01731, allocations: 8.062 kB / 400.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.01749, allocations: 51.95 kB / 400.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.01751, allocations: 16 kB / 400.2 MB, free: 1.664 MB / 314.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 9.677e-05/0.01761, allocations: 302.1 kB / 400.5 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/0.0177, allocations: 91.53 kB / 400.6 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.917e-05/0.01778, allocations: 83.27 kB / 400.7 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.01779, allocations: 12 kB / 400.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01779, allocations: 0 / 400.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.0178, allocations: 0 / 400.7 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/0.01865, allocations: 0.8683 MB / 401.6 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01865, allocations: 0 / 401.6 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.01895, allocations: 119.9 kB / 401.7 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01895, allocations: 4 kB / 401.7 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.01897, allocations: 12 kB / 401.7 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01897, allocations: 7.938 kB / 401.7 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01898, allocations: 0 / 401.7 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.01966, allocations: 0.7116 MB / 402.4 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.0198, allocations: 111.5 kB / 402.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.01985, allocations: 19.94 kB / 402.6 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.02008, allocations: 55.95 kB / 402.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.02016, allocations: 43.91 kB / 402.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.02018, allocations: 19.92 kB / 402.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.0204, allocations: 366.8 kB / 403 MB, free: 14.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0204, allocations: 0 / 403 MB, free: 14.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004437/0.02084, allocations: 180 kB / 403.2 MB, free: 14.62 MB / 330.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.0001159/0.02096, allocations: 115.1 kB / 403.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005239/0.02148, allocations: 422.6 kB / 403.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02148, allocations: 4 kB / 403.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.02165, allocations: 149.3 kB / 403.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.02226, allocations: 230.5 kB / 404.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.02368, allocations: 1.17 MB / 405.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.0238, allocations: 146.3 kB / 405.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.02407, allocations: 100.8 kB / 405.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.02446, allocations: 258 kB / 405.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02446, allocations: 0 / 405.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of Templates: time 0.01632/0.04078, allocations: 10.43 MB / 416.2 MB, free: 1.699 MB / 330.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.6015627989545465]