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.001315/0.001315, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009419/0.0009419, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9848/0.9848, allocations: 177 MB / 205.2 MB, free: 5.047 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.3082/0.3082, allocations: 34.85 MB / 296.6 MB, free: 476 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.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.964e-06/1.964e-06, allocations: 0 / 325.9 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.585e-05, allocations: 4.984 kB / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.008338/0.008364, allocations: 1.739 MB / 327.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.009786, allocations: 0.6587 MB / 328.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.009897, allocations: 7.938 kB / 328.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.009942, allocations: 7.875 kB / 328.4 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.01007, allocations: 19.73 kB / 328.4 MB, free: 4.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.01058, allocations: 155.6 kB / 328.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.01084, allocations: 160.2 kB / 328.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.01096, allocations: 25.94 kB / 328.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.01121, allocations: 95.8 kB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.01134, allocations: 55.8 kB / 328.9 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.01137, allocations: 12 kB / 328.9 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.918e-05/0.01144, allocations: 16 kB / 328.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.71e-05/0.01148, allocations: 35.89 kB / 328.9 MB, free: 4.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.01153, allocations: 39.91 kB / 329 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.01173, allocations: 115.5 kB / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01174, allocations: 0 / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01174, allocations: 0 / 329.1 MB, free: 3.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.01174, allocations: 0 / 329.1 MB, free: 3.988 MB / 298.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.0004922/0.01224, allocations: 349.7 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.01228, allocations: 12.03 kB / 329.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.01245, allocations: 24.91 kB / 329.5 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.01266, allocations: 157.5 kB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.01268, allocations: 4.375 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.01271, allocations: 12.38 kB / 329.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.01303, allocations: 302.2 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01305, allocations: 4.188 kB / 329.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.01306, allocations: 8.375 kB / 329.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.01307, allocations: 3.938 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.757e-05/0.01314, allocations: 25.7 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.01373, allocations: 267.8 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.01389, allocations: 75.27 kB / 330.3 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.01392, allocations: 12.86 kB / 330.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.01394, allocations: 4 kB / 330.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.01397, allocations: 38.56 kB / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.01397, allocations: 0 / 330.4 MB, free: 2.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000542/0.01451, allocations: 247.7 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.01457, allocations: 110.8 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.01469, allocations: 142.6 kB / 330.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.0147, allocations: 25.7 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.01476, allocations: 104.1 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.0148, allocations: 39.67 kB / 331 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.01485, allocations: 25.7 kB / 331 MB, free: 1.816 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01496, allocations: 330.7 kB / 331.4 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.9e-05/0.015, allocations: 16.8 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.01508, allocations: 85.97 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.288e-05/0.01516, allocations: 40.81 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01516, allocations: 0 / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001175/0.01528, allocations: 76.27 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01529, allocations: 4 kB / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.0153, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.01531, allocations: 0 / 331.6 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.01544, allocations: 35.97 kB / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.01544, allocations: 0 / 331.6 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.0155, allocations: 11.98 kB / 331.6 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01551, allocations: 4 kB / 331.6 MB, free: 1.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.085e-05/0.01557, allocations: 96.06 kB / 331.7 MB, free: 1.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.879e-05/0.01563, allocations: 81.97 kB / 331.8 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.398e-05/0.01568, allocations: 36.86 kB / 331.8 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.786e-06/0.01568, allocations: 3.938 kB / 331.8 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 8.857e-05/0.01577, allocations: 61.61 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.01578, allocations: 8 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.01578, allocations: 0.5469 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-06/0.01578, allocations: 0 / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.01585, allocations: 19.98 kB / 331.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.01585, allocations: 0 / 331.9 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.0159, allocations: 15.98 kB / 331.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.0159, allocations: 4 kB / 331.9 MB, free: 0.8242 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 9.544e-05/0.016, allocations: 188.1 kB / 332.1 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.01603, allocations: 15.98 kB / 332.1 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.01607, allocations: 12.78 kB / 332.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01607, allocations: 0 / 332.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.01607, allocations: 3.938 kB / 332.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.01608, allocations: 3.984 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.01636, allocations: 271.5 kB / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01636, allocations: 0 / 332.4 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.01644, allocations: 40 kB / 332.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01644, allocations: 0 / 332.5 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.01645, allocations: 4 kB / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.01645, allocations: 0 / 332.5 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.01645, allocations: 3.938 kB / 332.5 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.0166, allocations: 185 kB / 332.7 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.01661, allocations: 7.953 kB / 332.7 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01662, allocations: 11.98 kB / 332.7 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.01674, allocations: 35.94 kB / 332.7 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.01678, allocations: 8.031 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.01679, allocations: 4 kB / 332.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.06e-05/0.01682, allocations: 35.61 kB / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01682, allocations: 0 / 332.8 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.01698, allocations: 35.94 kB / 332.8 MB, free: 15.92 MB / 314.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 7.764e-05/0.01706, allocations: 84.36 kB / 332.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01719, allocations: 71.2 kB / 332.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.0172, allocations: 4 kB / 332.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.01723, allocations: 32.8 kB / 333 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01747, allocations: 42.92 kB / 333 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.01799, allocations: 242.1 kB / 333.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.01803, allocations: 67.84 kB / 333.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.129e-05/0.01809, allocations: 24.53 kB / 333.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.01823, allocations: 95.31 kB / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01823, allocations: 0 / 333.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of Templates: time 0.004303/0.02253, allocations: 2.618 MB / 336.1 MB, free: 12.67 MB / 314.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 -s gbode -gbm=radauIIA3 -emit_protected -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: 3.040565289091319]