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.0009548/0.0009548, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001187/0.001187, allocations: 166.3 kB / 24.91 MB, free: 8.77 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.9512/0.9512, allocations: 177 MB / 205.2 MB, free: 5.078 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.2808/0.2808, allocations: 34.86 MB / 296.6 MB, free: 488 kB / 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.363e-06/1.363e-06, allocations: 0 / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.254e-05, allocations: 2.312 kB / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004561/0.004584, allocations: 3.282 MB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.007456, allocations: 1.511 MB / 330.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.007826, allocations: 35.69 kB / 330.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.008101, allocations: 118.6 kB / 330.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000508/0.008609, allocations: 170.4 kB / 331 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.009805, allocations: 0.6357 MB / 331.7 MB, free: 1.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.01082, allocations: 0.9521 MB / 332.6 MB, free: 464 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003773/0.0112, allocations: 210.9 kB / 332.8 MB, free: 232 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/0.01195, allocations: 0.5143 MB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/0.01229, allocations: 271 kB / 333.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.01241, allocations: 72 kB / 333.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.01253, allocations: 76 kB / 333.7 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.01267, allocations: 183.3 kB / 333.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.01287, allocations: 223.3 kB / 334.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006723/0.01354, allocations: 0.5874 MB / 334.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.01355, allocations: 0 / 334.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01355, allocations: 0 / 334.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.01356, allocations: 0 / 334.7 MB, free: 14.31 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.001554/0.01511, allocations: 1.064 MB / 335.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01515, allocations: 8.031 kB / 335.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.01557, allocations: 140.8 kB / 335.9 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007368/0.01631, allocations: 489.9 kB / 336.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.01636, allocations: 41.36 kB / 336.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.01645, allocations: 56.38 kB / 336.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/0.01736, allocations: 0.7388 MB / 337.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.01738, allocations: 12.16 kB / 337.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.01742, allocations: 20.38 kB / 337.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.01744, allocations: 19.92 kB / 337.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.01776, allocations: 146.8 kB / 337.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.01987, allocations: 1.579 MB / 339 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/0.02045, allocations: 283.2 kB / 339.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.02062, allocations: 90.42 kB / 339.4 MB, free: 9.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.02066, allocations: 12.38 kB / 339.4 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.02069, allocations: 42.94 kB / 339.4 MB, free: 9.355 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.394e-06/0.0207, allocations: 0 / 339.4 MB, free: 9.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.001332/0.02203, allocations: 0.669 MB / 340.1 MB, free: 8.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/0.02213, allocations: 243.8 kB / 340.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.02256, allocations: 0.5078 MB / 340.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.0226, allocations: 37.7 kB / 340.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.02277, allocations: 267 kB / 341.1 MB, free: 7.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.02289, allocations: 190.3 kB / 341.3 MB, free: 7.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.02305, allocations: 122.1 kB / 341.4 MB, free: 7.223 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.02314, allocations: 325.9 kB / 341.8 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.0233, allocations: 67.45 kB / 341.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.0236, allocations: 350.9 kB / 342.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.02397, allocations: 254.3 kB / 342.4 MB, free: 6.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02397, allocations: 4 kB / 342.4 MB, free: 6.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00054/0.02451, allocations: 302.5 kB / 342.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.02453, allocations: 4 kB / 342.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.02453, allocations: 7.984 kB / 342.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.02455, allocations: 4.25 kB / 342.7 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.02519, allocations: 167.8 kB / 342.9 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.0252, allocations: 11.98 kB / 342.9 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.02551, allocations: 51.95 kB / 343 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.02555, allocations: 16 kB / 343 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002201/0.02577, allocations: 141.4 kB / 343.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003249/0.02609, allocations: 357.3 kB / 343.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003338/0.02643, allocations: 253.9 kB / 343.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.02643, allocations: 0 / 343.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0004687/0.0269, allocations: 294.2 kB / 344 MB, free: 4.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.02691, allocations: 5.562 kB / 344 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.02692, allocations: 8 kB / 344 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.02692, allocations: 4 kB / 344 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.02748, allocations: 151.8 kB / 344.2 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.02749, allocations: 7.984 kB / 344.2 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.02778, allocations: 43.97 kB / 344.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.02781, allocations: 16 kB / 344.2 MB, free: 4.172 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 0.000152/0.02796, allocations: 224 kB / 344.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.02809, allocations: 59.94 kB / 344.5 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.02821, allocations: 83.27 kB / 344.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.02822, allocations: 4 kB / 344.6 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.02822, allocations: 4.125 kB / 344.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.02823, allocations: 7.984 kB / 344.6 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.02954, allocations: 0.6491 MB / 345.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.02954, allocations: 0 / 345.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.03, allocations: 123.8 kB / 345.4 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.03001, allocations: 0 / 345.4 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.03004, allocations: 15.98 kB / 345.4 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.03005, allocations: 7.938 kB / 345.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.03005, allocations: 0 / 345.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.03075, allocations: 0.5351 MB / 345.9 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.03092, allocations: 75.5 kB / 346 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.747e-05/0.031, allocations: 15.94 kB / 346 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.03136, allocations: 51.95 kB / 346.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.03146, allocations: 47.91 kB / 346.1 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.03148, allocations: 8 kB / 346.1 MB, free: 2.211 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002636/0.03175, allocations: 252.5 kB / 346.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03175, allocations: 4 kB / 346.4 MB, free: 1.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006509/0.0324, allocations: 180 kB / 346.6 MB, free: 1.785 MB / 314.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.0001314/0.03253, allocations: 92.3 kB / 346.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006899/0.03322, allocations: 394.5 kB / 347 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/0.03323, allocations: 12 kB / 347 MB, free: 1.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.03345, allocations: 137.2 kB / 347.2 MB, free: 1.145 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008493/0.0343, allocations: 229.4 kB / 347.4 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.03619, allocations: 1.147 MB / 348.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.03648, allocations: 150.3 kB / 348.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003833/0.03686, allocations: 96.77 kB / 348.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/0.03738, allocations: 213.2 kB / 349 MB, free: 15.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.03738, allocations: 0 / 349 MB, free: 15.27 MB / 330.7 MB Notification: Performance of Templates: time 0.01295/0.05033, allocations: 10.05 MB / 359 MB, free: 5.445 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.1117991376668215]