Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009074/0.0009074, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009087/0.0009087, allocations: 166.2 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9879/0.9879, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 32.81 MB / 294.6 MB, free: 1.258 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.538e-05, allocations: 6.25 kB / 376.5 MB, free: 4.406 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002031/0.002047, allocations: 1.697 MB / 378.2 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008021/0.002849, allocations: 0.6349 MB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.00292, allocations: 7.938 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.002948, allocations: 11.86 kB / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.003037, allocations: 19.8 kB / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.003344, allocations: 163.5 kB / 379 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.003491, allocations: 147.7 kB / 379.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.00358, allocations: 29.28 kB / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.003718, allocations: 99.72 kB / 379.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.003796, allocations: 47.88 kB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.003818, allocations: 12 kB / 379.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.003856, allocations: 19.94 kB / 379.3 MB, free: 1.508 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.00388, allocations: 35.89 kB / 379.4 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.003912, allocations: 39.91 kB / 379.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.004039, allocations: 123.5 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004041, allocations: 4 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004042, allocations: 0 / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.004045, allocations: 0 / 379.5 MB, free: 1.309 MB / 346.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.0003732/0.004418, allocations: 472 kB / 380 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.004447, allocations: 8.031 kB / 380 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.764e-05/0.004544, allocations: 32.78 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.004688, allocations: 175.3 kB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.0047, allocations: 384 / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.004721, allocations: 12.38 kB / 380.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.004936, allocations: 308.1 kB / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004943, allocations: 192 / 380.5 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.004955, allocations: 8.375 kB / 380.5 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.00496, allocations: 3.938 kB / 380.5 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.005004, allocations: 27.97 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.005405, allocations: 376 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.005523, allocations: 79.03 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.005552, allocations: 35.64 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.005567, allocations: 0 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.005587, allocations: 37.39 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.02e-07/0.005587, allocations: 0 / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003428/0.00593, allocations: 257.7 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.005964, allocations: 114.7 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.006043, allocations: 197.9 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.006056, allocations: 25.7 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.006104, allocations: 154.8 kB / 381.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.006127, allocations: 35.62 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.006163, allocations: 39.34 kB / 381.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.006262, allocations: 0.4922 MB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.00629, allocations: 23.67 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.006345, allocations: 94.45 kB / 382.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.24e-05/0.006397, allocations: 55.62 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006398, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.811e-05/0.006486, allocations: 81.64 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.006496, allocations: 5.875 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.006499, allocations: 0 / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/0.006507, allocations: 4 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.00659, allocations: 31.91 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.006592, allocations: 0 / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.006639, allocations: 11.98 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.006645, allocations: 8 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.299e-05/0.006698, allocations: 142.9 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.924e-05/0.006737, allocations: 87 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.054e-05/0.006768, allocations: 40.11 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.21e-07/0.006768, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002979/0.007066, allocations: 85.47 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.839e-06/0.007071, allocations: 8 kB / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.02e-07/0.007072, allocations: 0 / 383 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-06/0.007074, allocations: 3.984 kB / 383.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.007112, allocations: 16 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-06/0.007114, allocations: 4.016 kB / 383.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.007148, allocations: 15.98 kB / 383.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-06/0.00715, allocations: 0 / 383.1 MB, free: 13.41 MB / 362.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.428e-05/0.007225, allocations: 276 kB / 383.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.007247, allocations: 11.95 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.126e-05/0.007279, allocations: 20.77 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.00728, allocations: 0 / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.007281, allocations: 0 / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.007283, allocations: 3.938 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.00757, allocations: 373.6 kB / 383.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007571, allocations: 3.938 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.00764, allocations: 27.97 kB / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.007641, allocations: 0 / 383.8 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.007649, allocations: 8 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.007649, allocations: 0 / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.00765, allocations: 0 / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.007809, allocations: 255.4 kB / 384 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.007818, allocations: 7.953 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.007832, allocations: 7.984 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.007941, allocations: 36.03 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.007964, allocations: 7.984 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.007972, allocations: 8 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.408e-05/0.008016, allocations: 149.5 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008016, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.008208, allocations: 36 kB / 384.3 MB, free: 12.13 MB / 362.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 6.666e-05/0.008275, allocations: 107.2 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001145/0.008389, allocations: 83.25 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.00839, allocations: 0 / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.008426, allocations: 31.61 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.00865, allocations: 49.61 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.00905, allocations: 253.7 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.009083, allocations: 63.91 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.009135, allocations: 20.48 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.009274, allocations: 126.1 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009274, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.003733/0.01301, allocations: 2.651 MB / 387.7 MB, free: 8.742 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7865857989527285]