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.001544/0.001544, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001516/0.001516, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9942/0.9942, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.245/0.245, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.814e-06/1.814e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.784e-05, allocations: 2.312 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003095/0.003123, allocations: 1.712 MB / 377.7 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.004172, allocations: 0.6349 MB / 378.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.2e-05/0.004264, allocations: 7.938 kB / 378.3 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.87e-05/0.004303, allocations: 15.8 kB / 378.3 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.004411, allocations: 15.81 kB / 378.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.004811, allocations: 159.5 kB / 378.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.005007, allocations: 159.6 kB / 378.7 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.005135, allocations: 25.3 kB / 378.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.005314, allocations: 95.8 kB / 378.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.005399, allocations: 51.8 kB / 378.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.005423, allocations: 12 kB / 378.9 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.005464, allocations: 16 kB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.005489, allocations: 35.89 kB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.00553, allocations: 39.91 kB / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.00571, allocations: 127.5 kB / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.005713, allocations: 0 / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005714, allocations: 0 / 379.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.00572, allocations: 0 / 379.1 MB, free: 1.891 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.0005275/0.006248, allocations: 464 kB / 379.5 MB, free: 1.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.006293, allocations: 12.02 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.006461, allocations: 28.84 kB / 379.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.0067, allocations: 183.2 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.006733, allocations: 8.375 kB / 379.8 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.006764, allocations: 12.38 kB / 379.8 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.007074, allocations: 304.2 kB / 380.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.007086, allocations: 4.172 kB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.007104, allocations: 4.375 kB / 380.1 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.007114, allocations: 7.938 kB / 380.1 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.576e-05/0.00719, allocations: 33.8 kB / 380.1 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.007763, allocations: 403.4 kB / 380.5 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.007939, allocations: 90.92 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.547e-05/0.007984, allocations: 27.72 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.008009, allocations: 4 kB / 380.6 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.008033, allocations: 33.39 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.008034, allocations: 0 / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005891/0.008623, allocations: 289.3 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.008673, allocations: 102.8 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.008782, allocations: 201.9 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.008798, allocations: 29.7 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.008865, allocations: 154.8 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.0089, allocations: 39.83 kB / 381.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.008943, allocations: 35.36 kB / 381.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.009081, allocations: 0.4961 MB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.009128, allocations: 23.69 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.009205, allocations: 106.4 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.00928, allocations: 43.72 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.009281, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001286/0.00941, allocations: 97.56 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.009426, allocations: 4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.009431, allocations: 0 / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.009445, allocations: 4 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.009557, allocations: 27.97 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.009562, allocations: 0 / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.009613, allocations: 11.98 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.009622, allocations: 12 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.357e-05/0.009685, allocations: 138.8 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.343e-05/0.009739, allocations: 102.4 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.259e-05/0.009781, allocations: 36.25 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.92e-07/0.009782, allocations: 0.5469 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 8.361e-05/0.009866, allocations: 85.52 kB / 382.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.473e-06/0.009872, allocations: 8 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.009874, allocations: 0 / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.009879, allocations: 3.984 kB / 382.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.009927, allocations: 19.98 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/0.009928, allocations: 4.031 kB / 382.7 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.009966, allocations: 15.98 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.00997, allocations: 7.922 kB / 382.7 MB, free: 13.87 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 8.847e-05/0.01006, allocations: 280 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.01009, allocations: 19.91 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.01013, allocations: 16.77 kB / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01013, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01013, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01014, allocations: 0 / 383 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.01049, allocations: 405 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01049, allocations: 4 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-05/0.01058, allocations: 23.98 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01058, allocations: 0 / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01059, allocations: 0 / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01059, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.0106, allocations: 11.86 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.01082, allocations: 263.5 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.123e-05/0.01083, allocations: 7.953 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.01085, allocations: 8.062 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.01096, allocations: 27.97 kB / 383.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.01101, allocations: 11.92 kB / 383.8 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01102, allocations: 11.98 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.01108, allocations: 149.6 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01108, allocations: 0 / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001979/0.01128, allocations: 32 kB / 384 MB, free: 12.54 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 0.0001075/0.01138, allocations: 99.25 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.01157, allocations: 91.27 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.01157, allocations: 4 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.01161, allocations: 35.61 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01188, allocations: 42.38 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006153/0.01249, allocations: 257.6 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.658e-05/0.01254, allocations: 75.91 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.0126, allocations: 16.47 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.01265, allocations: 16.5 kB / 384.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01265, allocations: 7.938 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of Templates: time 0.0043/0.01695, allocations: 2.441 MB / 387 MB, free: 9.449 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: 3.130408148979768]