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.001278/0.001278, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0008887/0.0008887, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.9646/0.9646, allocations: 177 MB / 205.1 MB, free: 5.469 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.2577/0.2577, allocations: 34.87 MB / 296.6 MB, free: 428 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.152e-06/1.152e-06, allocations: 0 / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.558e-05, allocations: 3.297 kB / 379.2 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003072/0.003087, allocations: 3.274 MB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.005159, allocations: 1.465 MB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/0.005516, allocations: 35.69 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.005743, allocations: 114.6 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.006165, allocations: 170.4 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009663/0.007131, allocations: 0.6395 MB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008618/0.007993, allocations: 0.9599 MB / 385.9 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.008295, allocations: 201 kB / 386.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.008866, allocations: 0.5104 MB / 386.6 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.009109, allocations: 275 kB / 386.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.06e-05/0.00919, allocations: 72 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.009285, allocations: 76 kB / 387 MB, free: 9.961 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.574e-05/0.009371, allocations: 175.3 kB / 387.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.009642, allocations: 231.2 kB / 387.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.01015, allocations: 0.5835 MB / 388 MB, free: 8.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.01016, allocations: 4 kB / 388 MB, free: 8.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01016, allocations: 0 / 388 MB, free: 8.973 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.01016, allocations: 0 / 388 MB, free: 8.973 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.001153/0.01132, allocations: 1.192 MB / 389.2 MB, free: 7.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.01135, allocations: 8.031 kB / 389.2 MB, free: 7.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.01164, allocations: 164.3 kB / 389.3 MB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005135/0.01215, allocations: 0.5656 MB / 389.9 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/0.01219, allocations: 41.38 kB / 390 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.01226, allocations: 56.33 kB / 390 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.01291, allocations: 0.7676 MB / 390.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.01293, allocations: 8.125 kB / 390.8 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.01296, allocations: 20.38 kB / 390.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.01297, allocations: 15.94 kB / 390.8 MB, free: 5.945 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004807/0.01346, allocations: 170.7 kB / 391 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.01514, allocations: 2.299 MB / 393.3 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.01557, allocations: 325.3 kB / 393.6 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.01569, allocations: 100.1 kB / 393.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.497e-05/0.01572, allocations: 16.38 kB / 393.7 MB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.01574, allocations: 41.77 kB / 393.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.513e-06/0.01574, allocations: 0 / 393.8 MB, free: 2.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001001/0.01675, allocations: 0.759 MB / 394.5 MB, free: 2.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.01682, allocations: 239.8 kB / 394.7 MB, free: 1.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.01716, allocations: 0.5655 MB / 395.3 MB, free: 1.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.01719, allocations: 37.7 kB / 395.4 MB, free: 1.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.01739, allocations: 427.7 kB / 395.8 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.01748, allocations: 182.4 kB / 395.9 MB, free: 0.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.0176, allocations: 115.9 kB / 396.1 MB, free: 472 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.01773, allocations: 0.5003 MB / 396.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01784, allocations: 82.25 kB / 396.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.01808, allocations: 408.1 kB / 397 MB, free: 15.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.01836, allocations: 266.9 kB / 397.3 MB, free: 15.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01836, allocations: 4 kB / 397.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004253/0.01878, allocations: 412.8 kB / 397.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.0188, allocations: 7.984 kB / 397.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.0188, allocations: 4 kB / 397.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01882, allocations: 4 kB / 397.7 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/0.01951, allocations: 172 kB / 397.9 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.01952, allocations: 4 kB / 397.9 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.01971, allocations: 56.02 kB / 397.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.01974, allocations: 19.98 kB / 398 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001646/0.0199, allocations: 196.1 kB / 398.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002149/0.02012, allocations: 415.5 kB / 398.6 MB, free: 13.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002356/0.02035, allocations: 283.8 kB / 398.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.02035, allocations: 4 kB / 398.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0003649/0.02072, allocations: 388.8 kB / 399.2 MB, free: 12.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.02073, allocations: 4 kB / 399.2 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.02073, allocations: 4 kB / 399.2 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.02073, allocations: 4.312 kB / 399.2 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.02108, allocations: 159.7 kB / 399.4 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.02108, allocations: 4 kB / 399.4 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.02126, allocations: 47.97 kB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.02128, allocations: 19.98 kB / 399.5 MB, free: 12.71 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 (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.0001222/0.0214, allocations: 311.8 kB / 399.8 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.771e-05/0.02149, allocations: 87.53 kB / 399.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.02157, allocations: 83.28 kB / 399.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.02158, allocations: 4 kB / 399.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.02158, allocations: 0 / 399.9 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.02159, allocations: 7.984 kB / 399.9 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008982/0.02249, allocations: 0.8605 MB / 400.8 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.02249, allocations: 0 / 400.8 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.02278, allocations: 127.9 kB / 400.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.02278, allocations: 4 kB / 400.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.0228, allocations: 15.98 kB / 401 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.02281, allocations: 7.938 kB / 401 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.02281, allocations: 0 / 401 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.02337, allocations: 0.6999 MB / 401.7 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.0235, allocations: 123.4 kB / 401.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.02354, allocations: 15.94 kB / 401.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.02376, allocations: 51.95 kB / 401.8 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.02382, allocations: 51.91 kB / 401.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.02384, allocations: 8 kB / 401.9 MB, free: 10.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.02403, allocations: 358.9 kB / 402.3 MB, free: 9.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02403, allocations: 0 / 402.3 MB, free: 9.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003976/0.02443, allocations: 184 kB / 402.4 MB, free: 9.664 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 9.342e-05/0.02452, allocations: 115.2 kB / 402.5 MB, free: 9.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004763/0.025, allocations: 439.5 kB / 403 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.025, allocations: 0 / 403 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.02516, allocations: 156.3 kB / 403.1 MB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.02574, allocations: 221.1 kB / 403.3 MB, free: 8.754 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.02701, allocations: 1.156 MB / 404.5 MB, free: 7.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.534e-05/0.02709, allocations: 146.5 kB / 404.6 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.02733, allocations: 101 kB / 404.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006337/0.02797, allocations: 262 kB / 405 MB, free: 7.02 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.02797, allocations: 0 / 405 MB, free: 7.02 MB / 378.7 MB Notification: Performance of Templates: time 0.01253/0.0405, allocations: 10.19 MB / 415.2 MB, free: 13 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.084288897924125]