Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001594/0.001594, allocations: 77.88 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.00126/0.00126, allocations: 168.7 kB / 24.82 MB, free: 8.918 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 1.018/1.018, allocations: 177.2 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2785/0.2785, allocations: 34.25 MB / 296.1 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Blocks.Limiters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 3.938 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.442e-05/1.616e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.004709/0.004725, allocations: 1.7 MB / 380.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.005979, allocations: 0.6388 MB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.00608, allocations: 3.938 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.006121, allocations: 7.875 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.006268, allocations: 23.8 kB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.006721, allocations: 155.5 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.006944, allocations: 159.5 kB / 381.2 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.007073, allocations: 29.3 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.007285, allocations: 95.78 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.00737, allocations: 51.86 kB / 381.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.007395, allocations: 12 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.292e-05/0.007437, allocations: 16 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.00746, allocations: 31.91 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.007499, allocations: 43.83 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.007638, allocations: 115.6 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.007641, allocations: 4 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.007643, allocations: 4 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.007646, allocations: 0 / 381.6 MB, free: 15.29 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004275/0.008073, allocations: 471.9 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.008109, allocations: 12.03 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.008222, allocations: 28.83 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.008386, allocations: 167.3 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.008401, allocations: 12.31 kB / 382.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.008425, allocations: 20.3 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.008657, allocations: 300.1 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.008665, allocations: 192 / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.008678, allocations: 8.375 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.008684, allocations: 3.938 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.71e-05/0.008731, allocations: 30 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.009144, allocations: 376 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.009274, allocations: 87.02 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/0.009301, allocations: 19.69 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.009321, allocations: 7.969 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.009348, allocations: 41.39 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.009349, allocations: 0 / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003696/0.009718, allocations: 261.7 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.009757, allocations: 102.8 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.009849, allocations: 197.8 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.009864, allocations: 33.7 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.009921, allocations: 150.8 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.009953, allocations: 35.69 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.009989, allocations: 31.36 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.01011, allocations: 0.4961 MB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.01015, allocations: 23.67 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-05/0.0102, allocations: 98.44 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.189e-05/0.01025, allocations: 47.64 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01025, allocations: 0 / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.044e-05/0.01035, allocations: 81.58 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.01036, allocations: 7.984 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01036, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01037, allocations: 0 / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.01046, allocations: 31.92 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.01046, allocations: 0 / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.01051, allocations: 19.98 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.01052, allocations: 11.98 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.325e-05/0.01057, allocations: 130.9 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.885e-05/0.01062, allocations: 94.44 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 3.096e-05/0.01065, allocations: 44.11 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.21e-07/0.01065, allocations: 0 / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 7.241e-05/0.01072, allocations: 81.47 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-06/0.01073, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.01073, allocations: 0 / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-06/0.01073, allocations: 4 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.01077, allocations: 19.98 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.42e-07/0.01077, allocations: 4 kB / 385.1 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/0.01081, allocations: 12.02 kB / 385.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.01081, allocations: 4 kB / 385.1 MB, free: 11.39 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 9.848e-05/0.01091, allocations: 280 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.01093, allocations: 11.95 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.01097, allocations: 12.78 kB / 385.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01097, allocations: 4 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01098, allocations: 0 / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01098, allocations: 3.984 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.01131, allocations: 369.6 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01131, allocations: 3.984 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.737e-05/0.01138, allocations: 23.98 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.01138, allocations: 0 / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.01139, allocations: 0 / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.01139, allocations: 4 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01139, allocations: 0 / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.01157, allocations: 267.4 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.01158, allocations: 3.953 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.01159, allocations: 4 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.0117, allocations: 36.03 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.01173, allocations: 11.92 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.01173, allocations: 3.984 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.01178, allocations: 157.5 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01178, allocations: 0 / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.01197, allocations: 32 kB / 386.3 MB, free: 10.11 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 7.666e-05/0.01205, allocations: 99.25 kB / 386.4 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.01217, allocations: 79.27 kB / 386.5 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01217, allocations: 4 kB / 386.5 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.506e-05/0.01221, allocations: 31.61 kB / 386.5 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.01243, allocations: 46.55 kB / 386.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.01286, allocations: 253.7 kB / 386.8 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.027e-05/0.0129, allocations: 71.89 kB / 386.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.539e-05/0.01295, allocations: 28.42 kB / 386.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.0131, allocations: 126.1 kB / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.0131, allocations: 0 / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of Templates: time 0.003869/0.01697, allocations: 2.648 MB / 389.7 MB, free: 6.73 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.2932343268767]