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.001991/0.001991, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.002277/0.002277, allocations: 160.9 kB / 24.27 MB, free: 172 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 1.517/1.517, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.37/0.37, allocations: 34.25 MB / 295.2 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.643e-06/1.643e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.168e-05/3.332e-05, allocations: 6.25 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005741/0.005774, allocations: 3.211 MB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.009106, allocations: 1.445 MB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.009533, allocations: 35.69 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.009876, allocations: 110.7 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000635/0.01051, allocations: 174.4 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.01196, allocations: 0.6356 MB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001271/0.01323, allocations: 0.9561 MB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.01367, allocations: 204.9 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000859/0.01453, allocations: 0.5066 MB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004132/0.01494, allocations: 267.1 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.01507, allocations: 72 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.01549, allocations: 79.94 kB / 384.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.01569, allocations: 183.2 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.01596, allocations: 227.3 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.01716, allocations: 0.8758 MB / 386.2 MB, free: 9.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01716, allocations: 4 kB / 386.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01717, allocations: 0 / 386.2 MB, free: 9.902 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.01718, allocations: 0 / 386.2 MB, free: 9.902 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.002586/0.01976, allocations: 1.135 MB / 387.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.01981, allocations: 12.03 kB / 387.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.02048, allocations: 180.3 kB / 387.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.02161, allocations: 0.5707 MB / 388.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.02167, allocations: 37.38 kB / 388.1 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.0218, allocations: 52.38 kB / 388.1 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.02365, allocations: 0.9219 MB / 389.1 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.812e-05/0.02368, allocations: 12.12 kB / 389.1 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.981e-05/0.02375, allocations: 28.31 kB / 389.1 MB, free: 6.793 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.02377, allocations: 15.94 kB / 389.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.02542, allocations: 0.5619 MB / 389.7 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003709/0.02913, allocations: 2.017 MB / 391.7 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.03114, allocations: 0.6236 MB / 392.3 MB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009238/0.03206, allocations: 318.2 kB / 392.6 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.848e-05/0.03212, allocations: 12.36 kB / 392.6 MB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.03217, allocations: 38.94 kB / 392.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/0.03217, allocations: 0 / 392.7 MB, free: 3.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.005351/0.03752, allocations: 1.887 MB / 394.6 MB, free: 1.191 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.03771, allocations: 239.8 kB / 394.8 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.03852, allocations: 0.5707 MB / 395.4 MB, free: 328 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.147e-05/0.03858, allocations: 33.7 kB / 395.4 MB, free: 288 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.03896, allocations: 377.4 kB / 395.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.03915, allocations: 190.4 kB / 396 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.03935, allocations: 102.3 kB / 396.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.03955, allocations: 333.8 kB / 396.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000905/0.04046, allocations: 303.3 kB / 396.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.0416, allocations: 0.5769 MB / 397.3 MB, free: 14.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.04341, allocations: 0.6583 MB / 397.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.04341, allocations: 0 / 397.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002216/0.04562, allocations: 0.8171 MB / 398.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.04565, allocations: 11.98 kB / 398.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.04566, allocations: 256 / 398.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.04569, allocations: 12 kB / 398.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.04677, allocations: 183.8 kB / 398.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.04679, allocations: 11.92 kB / 399 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.04748, allocations: 83.92 kB / 399 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.04754, allocations: 27.92 kB / 399.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008494/0.04839, allocations: 365.3 kB / 399.4 MB, free: 12.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009012/0.04929, allocations: 0.5084 MB / 399.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001356/0.05064, allocations: 0.5407 MB / 400.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.05065, allocations: 0 / 400.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001653/0.0523, allocations: 0.6882 MB / 401.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.05231, allocations: 4 kB / 401.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.05232, allocations: 7.984 kB / 401.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.05233, allocations: 4 kB / 401.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008384/0.05317, allocations: 168 kB / 401.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.05318, allocations: 8 kB / 401.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/0.05369, allocations: 63.88 kB / 401.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.05374, allocations: 20 kB / 401.4 MB, free: 9.977 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.0002327/0.05397, allocations: 208.1 kB / 401.6 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.05416, allocations: 99.52 kB / 401.7 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.05437, allocations: 79.28 kB / 401.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.05438, allocations: 8 kB / 401.8 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.05439, allocations: 3.938 kB / 401.8 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.0544, allocations: 3.984 kB / 401.8 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003065/0.05746, allocations: 1.275 MB / 403.1 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.05746, allocations: 4.125 kB / 403.1 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007831/0.05825, allocations: 159.8 kB / 403.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.05826, allocations: 7.938 kB / 403.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.0583, allocations: 15.98 kB / 403.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.05831, allocations: 4 kB / 403.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.05831, allocations: 0 / 403.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/0.06145, allocations: 1.267 MB / 404.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.06171, allocations: 123.4 kB / 404.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/0.0618, allocations: 8 kB / 404.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006346/0.06243, allocations: 83.91 kB / 404.8 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.06257, allocations: 39.92 kB / 404.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.06261, allocations: 19.98 kB / 404.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005475/0.06316, allocations: 395.1 kB / 405.2 MB, free: 6.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.06316, allocations: 4 kB / 405.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007485/0.06391, allocations: 180 kB / 405.4 MB, free: 5.949 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.0001689/0.06408, allocations: 107.2 kB / 405.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002893/0.06697, allocations: 0.9506 MB / 406.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.06698, allocations: 4 kB / 406.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009663/0.06794, allocations: 348 kB / 406.8 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.06909, allocations: 231.1 kB / 407 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.0718, allocations: 1.315 MB / 408.3 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.07218, allocations: 335.1 kB / 408.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004268/0.07261, allocations: 92.88 kB / 408.7 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.07283, allocations: 60.47 kB / 408.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.07283, allocations: 0 / 408.8 MB, free: 2.461 MB / 378.7 MB Notification: Performance of Templates: time 0.0185/0.09133, allocations: 9.372 MB / 418.2 MB, free: 9.219 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.224721817066893]