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.001079/0.001079, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001224/0.001224, allocations: 161 kB / 24.56 MB, free: 12 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 1.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.598 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.2549/0.2549, allocations: 34.26 MB / 295.7 MB, free: 0.7656 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 2.215e-06/2.215e-06, allocations: 3.938 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.684e-05/3.905e-05, allocations: 6.25 kB / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00337/0.00341, allocations: 1.712 MB / 379.7 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.004822, allocations: 0.631 MB / 380.4 MB, free: 312 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.004937, allocations: 11.94 kB / 380.4 MB, free: 300 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.623e-05/0.004993, allocations: 7.875 kB / 380.4 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.005131, allocations: 23.73 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.005724, allocations: 151.6 kB / 380.6 MB, free: 116 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.00599, allocations: 159.5 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.006144, allocations: 29.28 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.006415, allocations: 95.78 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.006543, allocations: 51.88 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.006582, allocations: 12 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.006645, allocations: 19.98 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.006697, allocations: 27.92 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.006756, allocations: 47.83 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.006998, allocations: 115.6 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.007003, allocations: 0 / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.007004, allocations: 0 / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.007011, allocations: 0 / 381.1 MB, free: 15.57 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.0006693/0.00768, allocations: 483.9 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.007731, allocations: 11.97 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.007952, allocations: 28.83 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.008222, allocations: 167.3 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.00825, allocations: 8.375 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.008297, allocations: 12.31 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.008741, allocations: 314.2 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.008754, allocations: 192 / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.00878, allocations: 8.375 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.008792, allocations: 3.938 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.008903, allocations: 35.97 kB / 382.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007904/0.009694, allocations: 403.4 kB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.009939, allocations: 91.03 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.01, allocations: 23.69 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.01003, allocations: 0 / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.01006, allocations: 45.38 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 2.705e-06/0.01006, allocations: 3.984 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007493/0.01081, allocations: 293.5 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.01087, allocations: 102.8 kB / 383.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.01101, allocations: 201.9 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.01103, allocations: 25.7 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.01111, allocations: 154.8 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.01122, allocations: 35.7 kB / 383.5 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.01128, allocations: 35.36 kB / 383.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.01142, allocations: 0.4922 MB / 384 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.01149, allocations: 31.67 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.01158, allocations: 98.45 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.01169, allocations: 47.61 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.0117, allocations: 0 / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.01188, allocations: 93.58 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.0119, allocations: 11.92 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01191, allocations: 0 / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.01193, allocations: 4.031 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.0121, allocations: 27.98 kB / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.0121, allocations: 0 / 384.3 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.01219, allocations: 15.98 kB / 384.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.0122, allocations: 7.984 kB / 384.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.395e-05/0.0123, allocations: 142.8 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.321e-05/0.01238, allocations: 94.45 kB / 384.6 MB, free: 11.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.457e-05/0.01245, allocations: 44.17 kB / 384.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.01245, allocations: 0 / 384.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001466/0.0126, allocations: 85.55 kB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.01261, allocations: 4 kB / 384.7 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.01261, allocations: 8 kB / 384.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-06/0.01262, allocations: 0 / 384.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.01271, allocations: 19.98 kB / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.01271, allocations: 0 / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.684e-05/0.01278, allocations: 15.98 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.01278, allocations: 0 / 384.8 MB, free: 11.54 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 0.0001274/0.01291, allocations: 280 kB / 385 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.01296, allocations: 19.91 kB / 385.1 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.01301, allocations: 12.78 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01302, allocations: 0 / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01302, allocations: 0 / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01303, allocations: 3.984 kB / 385.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.01357, allocations: 397 kB / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.01358, allocations: 0 / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.0137, allocations: 31.97 kB / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01371, allocations: 0 / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01372, allocations: 4.031 kB / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01372, allocations: 0 / 385.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.01373, allocations: 7.938 kB / 385.5 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.01406, allocations: 263.4 kB / 385.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.01407, allocations: 11.95 kB / 385.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.0141, allocations: 4 kB / 385.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.01428, allocations: 31.91 kB / 385.8 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.01433, allocations: 23.89 kB / 385.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.01435, allocations: 7.984 kB / 385.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.484e-05/0.01444, allocations: 149.6 kB / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01444, allocations: 0 / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.01481, allocations: 32 kB / 386 MB, free: 10.2 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.0001215/0.01493, allocations: 91.25 kB / 386.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.01518, allocations: 91.27 kB / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01518, allocations: 0 / 386.2 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.01525, allocations: 39.61 kB / 386.2 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.0157, allocations: 48.05 kB / 386.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/0.01658, allocations: 253.6 kB / 386.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.61e-05/0.01665, allocations: 75.83 kB / 386.6 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.74e-05/0.01675, allocations: 16.42 kB / 386.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.377e-05/0.01682, allocations: 28.48 kB / 386.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01682, allocations: 0 / 386.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of Templates: time 0.006649/0.02347, allocations: 2.441 MB / 389.1 MB, free: 7.109 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.300243115052581]