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.001927/0.001927, allocations: 107.5 kB / 20.97 MB, free: 3.449 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.00196/0.00196, allocations: 156.8 kB / 24.27 MB, free: 156 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.526/1.526, allocations: 177 MB / 204.5 MB, free: 5.645 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.371/0.371, allocations: 34.25 MB / 295.2 MB, free: 0.6289 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.382e-06/1.382e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.635e-05, allocations: 2.312 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005805/0.005832, allocations: 3.291 MB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.009502, allocations: 1.461 MB / 382 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006363/0.01014, allocations: 35.69 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.01052, allocations: 118.7 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006326/0.01115, allocations: 174.4 kB / 382.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.01279, allocations: 0.6356 MB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.01435, allocations: 0.9561 MB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.01494, allocations: 197 kB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.01609, allocations: 0.5105 MB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.0165, allocations: 267 kB / 384.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.01664, allocations: 76 kB / 384.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.01681, allocations: 83.94 kB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.01701, allocations: 171.3 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002815/0.01729, allocations: 231.2 kB / 385.4 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.01878, allocations: 0.8797 MB / 386.3 MB, free: 9.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.01879, allocations: 0 / 386.3 MB, free: 9.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.01879, allocations: 0 / 386.3 MB, free: 9.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.01881, allocations: 0 / 386.3 MB, free: 9.805 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.002863/0.02167, allocations: 1.231 MB / 387.5 MB, free: 8.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.02173, allocations: 8.031 kB / 387.5 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000697/0.02243, allocations: 180.3 kB / 387.7 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.0239, allocations: 0.5696 MB / 388.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.02396, allocations: 41.31 kB / 388.3 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.02407, allocations: 60.38 kB / 388.3 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.02574, allocations: 0.9232 MB / 389.3 MB, free: 6.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.02577, allocations: 8.078 kB / 389.3 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.02583, allocations: 20.38 kB / 389.3 MB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.02585, allocations: 15.94 kB / 389.3 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.02716, allocations: 487.6 kB / 389.8 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.03131, allocations: 2.631 MB / 392.4 MB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.03289, allocations: 0.5506 MB / 393 MB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/0.03361, allocations: 272 kB / 393.2 MB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.255e-05/0.03368, allocations: 16.36 kB / 393.3 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/0.03374, allocations: 41.77 kB / 393.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.485e-06/0.03374, allocations: 0 / 393.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.004515/0.03826, allocations: 1.665 MB / 395 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/0.03844, allocations: 239.8 kB / 395.2 MB, free: 472 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.03974, allocations: 0.734 MB / 395.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.03981, allocations: 37.7 kB / 396 MB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.04022, allocations: 451.8 kB / 396.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.04042, allocations: 194.4 kB / 396.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.04065, allocations: 128 kB / 396.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002895/0.04094, allocations: 0.5121 MB / 397.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007348/0.04168, allocations: 262.1 kB / 397.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.04269, allocations: 0.586 MB / 398.1 MB, free: 13.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.04415, allocations: 0.5845 MB / 398.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.04415, allocations: 7.984 kB / 398.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001803/0.04596, allocations: 0.7233 MB / 399.4 MB, free: 12.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.04598, allocations: 4 kB / 399.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.04599, allocations: 4 kB / 399.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.04601, allocations: 4 kB / 399.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009674/0.04697, allocations: 176 kB / 399.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.04699, allocations: 4 kB / 399.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.04748, allocations: 51.95 kB / 399.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.04754, allocations: 27.92 kB / 399.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007465/0.04829, allocations: 376.1 kB / 400 MB, free: 11.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000846/0.04913, allocations: 0.5503 MB / 400.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001145/0.05028, allocations: 0.5273 MB / 401.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.43e-06/0.05028, allocations: 4 kB / 401.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001438/0.05172, allocations: 0.6258 MB / 401.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.05174, allocations: 8 kB / 401.7 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.05174, allocations: 3.984 kB / 401.7 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.05176, allocations: 8 kB / 401.8 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/0.05257, allocations: 152.2 kB / 401.9 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.05258, allocations: 7.938 kB / 401.9 MB, free: 9.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004695/0.05305, allocations: 55.95 kB / 402 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.05309, allocations: 20 kB / 402 MB, free: 9.293 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.0006074/0.0537, allocations: 299.9 kB / 402.3 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.05389, allocations: 95.47 kB / 402.4 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.05414, allocations: 83.28 kB / 402.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.05415, allocations: 12 kB / 402.5 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.05416, allocations: 0 / 402.5 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.05417, allocations: 3.984 kB / 402.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.05706, allocations: 1.35 MB / 403.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.05706, allocations: 0 / 403.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.05774, allocations: 119.8 kB / 403.9 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.05775, allocations: 7.938 kB / 403.9 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.05779, allocations: 16.05 kB / 404 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.0578, allocations: 8 kB / 404 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.0578, allocations: 0 / 404 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.06041, allocations: 1.226 MB / 405.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.06068, allocations: 119.4 kB / 405.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.674e-05/0.06077, allocations: 12 kB / 405.3 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.06126, allocations: 47.95 kB / 405.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.06141, allocations: 51.91 kB / 405.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.06146, allocations: 19.98 kB / 405.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006154/0.06207, allocations: 471 kB / 405.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06207, allocations: 0 / 405.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00074/0.06281, allocations: 180 kB / 406.1 MB, free: 5.117 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.0001679/0.06298, allocations: 115.1 kB / 406.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.06534, allocations: 0.9057 MB / 407.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.06534, allocations: 0 / 407.1 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007804/0.06612, allocations: 316.5 kB / 407.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.06728, allocations: 234.9 kB / 407.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.06988, allocations: 1.301 MB / 408.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.07025, allocations: 327.1 kB / 409.2 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000669/0.07092, allocations: 96.77 kB / 409.3 MB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.07113, allocations: 56.48 kB / 409.4 MB, free: 1.707 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.07113, allocations: 4 kB / 409.4 MB, free: 1.703 MB / 378.7 MB Notification: Performance of Templates: time 0.01957/0.0907, allocations: 9.405 MB / 418.8 MB, free: 8.426 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","/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.36411925801076]