Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.0007009/0.0007009, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.001755, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006999/0.0006999, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009632/0.001663, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9511/0.9511, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09266/1.044, allocations: 53.88 MB / 243.8 MB, free: 14.91 MB / 250.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.3039/0.3039, allocations: 34.87 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02622/0.3301, allocations: 13.23 MB / 292.6 MB, free: 6.48 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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 293.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.46e-05, allocations: 8.219 kB / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002033/0.002057, allocations: 1.747 MB / 295.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008352/0.002892, allocations: 0.6549 MB / 296.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.002962, allocations: 4 kB / 296.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.002991, allocations: 11.81 kB / 296.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.042e-05/0.003051, allocations: 27.78 kB / 296.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.003323, allocations: 147.5 kB / 296.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.003479, allocations: 151.6 kB / 296.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.003596, allocations: 33.94 kB / 296.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.003785, allocations: 115.7 kB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.003882, allocations: 51.86 kB / 296.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.003906, allocations: 12 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.105e-05/0.003967, allocations: 16 kB / 296.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.003988, allocations: 23.88 kB / 296.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.004023, allocations: 31.94 kB / 296.9 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.004171, allocations: 95.61 kB / 297 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.004188, allocations: 0 / 297 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004189, allocations: 0 / 297 MB, free: 2.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.004204, allocations: 0 / 297 MB, free: 2.086 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005092/0.004713, allocations: 369.2 kB / 297.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.004748, allocations: 8.031 kB / 297.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.004946, allocations: 106 kB / 297.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.00519, allocations: 165.3 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.005216, allocations: 4.375 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.005252, allocations: 12.38 kB / 297.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.005576, allocations: 299.5 kB / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.005588, allocations: 192 / 297.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.005604, allocations: 8.375 kB / 297.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.005611, allocations: 3.938 kB / 297.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.035e-05/0.005671, allocations: 27.92 kB / 297.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.006187, allocations: 256 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.006335, allocations: 78.45 kB / 298.3 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.559e-05/0.006361, allocations: 16.86 kB / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.006389, allocations: 0 / 298.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.006423, allocations: 42.55 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.006425, allocations: 0 / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005788/0.007003, allocations: 241.7 kB / 298.6 MB, free: 304 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.007046, allocations: 55.41 kB / 298.6 MB, free: 236 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.007146, allocations: 146.6 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.007163, allocations: 29.7 kB / 298.8 MB, free: 40 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.007224, allocations: 104 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.007252, allocations: 27.73 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.007295, allocations: 33.69 kB / 299 MB, free: 15.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.007381, allocations: 330.7 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.917e-05/0.00741, allocations: 12.86 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.00747, allocations: 93.89 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.612e-05/0.007526, allocations: 37.77 kB / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.007528, allocations: 0 / 299.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.844e-05/0.007616, allocations: 70.17 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.007632, allocations: 8.031 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.007638, allocations: 4 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007651, allocations: 4 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.00777, allocations: 31.97 kB / 299.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.007775, allocations: 4.062 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.007825, allocations: 15.98 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.007833, allocations: 4 kB / 299.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.146e-05/0.007874, allocations: 88.12 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.766e-05/0.007922, allocations: 97.55 kB / 299.7 MB, free: 15.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.793e-05/0.00795, allocations: 24.84 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.007951, allocations: 3.938 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 6.748e-05/0.008019, allocations: 69.61 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.009e-06/0.008024, allocations: 4 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-06/0.008026, allocations: 0 / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.00803, allocations: 4 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.008079, allocations: 19.98 kB / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-06/0.008081, allocations: 0 / 299.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.008114, allocations: 11.98 kB / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-06/0.008117, allocations: 8.031 kB / 299.9 MB, free: 14.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.064e-05/0.008188, allocations: 184.2 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.008209, allocations: 15.98 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.008248, allocations: 12.78 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.00825, allocations: 3.938 kB / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.008251, allocations: 0 / 300.1 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.008256, allocations: 3.984 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.008562, allocations: 271.5 kB / 300.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.008564, allocations: 0 / 300.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.008646, allocations: 36 kB / 300.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.008656, allocations: 3.953 kB / 300.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008658, allocations: 4 kB / 300.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.008665, allocations: 7.938 kB / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.008667, allocations: 0 / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.008669, allocations: 0 / 300.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.008829, allocations: 196.2 kB / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.008843, allocations: 0 / 300.6 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.008949, allocations: 36 kB / 300.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.008985, allocations: 7.984 kB / 300.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.008994, allocations: 8 kB / 300.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.817e-05/0.009022, allocations: 35.45 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009022, allocations: 0 / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.00917, allocations: 35.94 kB / 300.7 MB, free: 13.97 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0001064/0.009276, allocations: 80.36 kB / 300.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.009408, allocations: 71.41 kB / 300.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.009414, allocations: 8 kB / 300.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.009447, allocations: 32.77 kB / 300.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.009676, allocations: 52.28 kB / 301 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007299/0.01041, allocations: 250.1 kB / 301.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.01045, allocations: 71.7 kB / 301.3 MB, free: 13.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.473e-05/0.01053, allocations: 20.53 kB / 301.3 MB, free: 13.33 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.01067, allocations: 103.2 kB / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01067, allocations: 0 / 301.4 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Templates: time 0.004468/0.01514, allocations: 2.755 MB / 304.2 MB, free: 10.54 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Limiters/Limiters.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: 2.930613557808101]