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.0009492/0.0009492, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009677/0.0009677, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9536/0.9536, allocations: 177.2 MB / 205 MB, free: 5.297 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.2598/0.2598, allocations: 32.8 MB / 294.3 MB, free: 1.238 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.873e-06/1.873e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.049e-05, allocations: 2.312 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002321/0.002351, allocations: 1.705 MB / 377.7 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.003619, allocations: 0.6465 MB / 378.4 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.341e-05/0.003712, allocations: 4 kB / 378.4 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.151e-05/0.003754, allocations: 11.81 kB / 378.4 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.003859, allocations: 15.8 kB / 378.4 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.00432, allocations: 159.6 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.004516, allocations: 155.6 kB / 378.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.004631, allocations: 25.3 kB / 378.7 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.004821, allocations: 99.72 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.004909, allocations: 51.86 kB / 378.9 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.004935, allocations: 12 kB / 378.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.758e-05/0.004983, allocations: 16 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.005008, allocations: 35.84 kB / 378.9 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.005046, allocations: 39.89 kB / 379 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.005217, allocations: 123.5 kB / 379.1 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.005219, allocations: 4 kB / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00522, allocations: 0 / 379.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.005225, allocations: 0 / 379.1 MB, free: 1.586 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.000479/0.005704, allocations: 468 kB / 379.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.005742, allocations: 8.031 kB / 379.6 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.005926, allocations: 32.83 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.006175, allocations: 176.2 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.006204, allocations: 12.38 kB / 379.8 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.006231, allocations: 8.375 kB / 379.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.006525, allocations: 308.1 kB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.006536, allocations: 192 / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.006552, allocations: 8.375 kB / 380.1 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.00656, allocations: 3.938 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.175e-05/0.006632, allocations: 39.91 kB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.007172, allocations: 407.4 kB / 380.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.007345, allocations: 79 kB / 380.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.007387, allocations: 27.72 kB / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.007406, allocations: 0 / 380.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.00743, allocations: 37.39 kB / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.007431, allocations: 0 / 380.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005434/0.007974, allocations: 293.3 kB / 381 MB, free: 15.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.008021, allocations: 102.8 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.008138, allocations: 204.1 kB / 381.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.008156, allocations: 29.7 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.008219, allocations: 154.8 kB / 381.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.00825, allocations: 35.84 kB / 381.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.533e-05/0.008295, allocations: 39.36 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.008417, allocations: 0.4922 MB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.876e-05/0.008466, allocations: 31.67 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.008536, allocations: 102.4 kB / 382.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.344e-05/0.00861, allocations: 47.7 kB / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008611, allocations: 0 / 382.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001281/0.00874, allocations: 93.58 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.008753, allocations: 4 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.008757, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.008772, allocations: 3.984 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.00888, allocations: 27.98 kB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.008885, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.008934, allocations: 15.92 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.008943, allocations: 12 kB / 382.3 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.551e-05/0.009009, allocations: 142.8 kB / 382.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.73e-05/0.009066, allocations: 95 kB / 382.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.547e-05/0.009112, allocations: 40.23 kB / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.41e-07/0.009112, allocations: 0 / 382.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 8.773e-05/0.0092, allocations: 85.52 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.009206, allocations: 4.625 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.009207, allocations: 4 kB / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.00921, allocations: 0 / 382.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.009257, allocations: 23.92 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.00926, allocations: 3.984 kB / 382.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.009294, allocations: 12.03 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.009298, allocations: 3.984 kB / 382.7 MB, free: 13.57 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.036e-05/0.009388, allocations: 276 kB / 383 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.009415, allocations: 19.91 kB / 383 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.009461, allocations: 12.78 kB / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.009464, allocations: 0 / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.009469, allocations: 0 / 383 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.009474, allocations: 3.984 kB / 383.1 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.009879, allocations: 409 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009881, allocations: 3.938 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.00996, allocations: 35.91 kB / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.009963, allocations: 0 / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.009972, allocations: 0 / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.009974, allocations: 0 / 383.5 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.009978, allocations: 7.938 kB / 383.5 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.01018, allocations: 263.4 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.01019, allocations: 7.953 kB / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.01021, allocations: 8 kB / 383.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01032, allocations: 32.03 kB / 383.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.01036, allocations: 11.92 kB / 383.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.01037, allocations: 8 kB / 383.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.102e-05/0.01043, allocations: 150 kB / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01043, allocations: 0 / 384 MB, free: 12.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.01064, allocations: 32 kB / 384 MB, free: 12.23 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 9.428e-05/0.01073, allocations: 99.25 kB / 384.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.01091, allocations: 95.2 kB / 384.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01091, allocations: 0 / 384.2 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.315e-05/0.01097, allocations: 35.67 kB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.01124, allocations: 35.97 kB / 384.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005708/0.01181, allocations: 261.6 kB / 384.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.01186, allocations: 71.91 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.353e-05/0.01192, allocations: 16.48 kB / 384.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.01198, allocations: 16.5 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01198, allocations: 0 / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.004533/0.01651, allocations: 2.629 MB / 387.2 MB, free: 8.957 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.92628414882347]