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.00106/0.00106, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001616/0.001616, allocations: 162.2 kB / 25.6 MB, free: 8.59 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.004/1.004, allocations: 177.1 MB / 206 MB, free: 4.508 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.1872/0.1872, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.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.312e-06/1.312e-06, allocations: 0 / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.057e-05, allocations: 2.312 kB / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002527/0.002548, allocations: 1.708 MB / 378.9 MB, free: 23.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.003499, allocations: 0.6349 MB / 379.6 MB, free: 23.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.003589, allocations: 3.938 kB / 379.6 MB, free: 23.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.003626, allocations: 7.875 kB / 379.6 MB, free: 23.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.003735, allocations: 23.73 kB / 379.6 MB, free: 23.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.004146, allocations: 147.7 kB / 379.8 MB, free: 23.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.004355, allocations: 163.6 kB / 379.9 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.004463, allocations: 21.3 kB / 379.9 MB, free: 22.88 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.004644, allocations: 103.7 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.004736, allocations: 51.86 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.004762, allocations: 12 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.004809, allocations: 16 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.004836, allocations: 35.89 kB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.004873, allocations: 43.84 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.005028, allocations: 115.6 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.00503, allocations: 0 / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005031, allocations: 0 / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005035, allocations: 0 / 380.3 MB, free: 22.51 MB / 314.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.0004323/0.005467, allocations: 475.9 kB / 380.8 MB, free: 22.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.005501, allocations: 15.98 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.005641, allocations: 28.81 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.005833, allocations: 167.2 kB / 381 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.005853, allocations: 8.375 kB / 381 MB, free: 21.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.005883, allocations: 16.36 kB / 381 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.00615, allocations: 306.4 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.006161, allocations: 192 / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.006177, allocations: 4.375 kB / 381.3 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.006184, allocations: 7.938 kB / 381.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.006251, allocations: 27.97 kB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.00676, allocations: 379.9 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.006923, allocations: 83.03 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.006958, allocations: 23.66 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.006974, allocations: 4 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.006994, allocations: 41.39 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.006995, allocations: 4 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004337/0.007429, allocations: 249.8 kB / 382.1 MB, free: 20.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.007458, allocations: 102.8 kB / 382.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.128e-05/0.007539, allocations: 197.8 kB / 382.4 MB, free: 20.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.007553, allocations: 33.7 kB / 382.4 MB, free: 20.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.007598, allocations: 154.7 kB / 382.6 MB, free: 19.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.007626, allocations: 39.62 kB / 382.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.007676, allocations: 35.34 kB / 382.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.098e-05/0.007727, allocations: 0.4961 MB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.007765, allocations: 23.69 kB / 383.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.007825, allocations: 102.4 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.603e-05/0.007891, allocations: 35.62 kB / 383.3 MB, free: 19.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.007892, allocations: 0 / 383.3 MB, free: 19.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001295/0.008022, allocations: 93.84 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.008035, allocations: 4 kB / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.00804, allocations: 0 / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.008051, allocations: 0 / 383.4 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.008172, allocations: 31.91 kB / 383.4 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008176, allocations: 4.547 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.008243, allocations: 24 kB / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.008252, allocations: 0 / 383.5 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 4.357e-05/0.008295, allocations: 134.9 kB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.149e-05/0.008337, allocations: 98.47 kB / 383.7 MB, free: 18.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.103e-05/0.008378, allocations: 43.55 kB / 383.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.008379, allocations: 3.984 kB / 383.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 9.197e-05/0.008471, allocations: 77.53 kB / 383.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.008476, allocations: 4 kB / 383.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.008477, allocations: 0 / 383.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-06/0.008479, allocations: 0 / 383.8 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.008537, allocations: 24.02 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-06/0.008538, allocations: 0 / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.316e-05/0.008592, allocations: 15.98 kB / 383.9 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.008597, allocations: 4 kB / 383.9 MB, free: 18.59 MB / 314.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 6.003e-05/0.008657, allocations: 272 kB / 384.1 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.008695, allocations: 11.95 kB / 384.1 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.008737, allocations: 12.78 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.00874, allocations: 3.984 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.008742, allocations: 4 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.008744, allocations: 4 kB / 384.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.009119, allocations: 369.6 kB / 384.5 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.009121, allocations: 7.938 kB / 384.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-05/0.009215, allocations: 23.98 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.009217, allocations: 0 / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.009226, allocations: 0 / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.009227, allocations: 0 / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.009228, allocations: 4 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.009414, allocations: 263.4 kB / 384.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.009426, allocations: 12.02 kB / 384.8 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.009447, allocations: 7.938 kB / 384.8 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.009611, allocations: 31.97 kB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.009644, allocations: 7.984 kB / 384.9 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.009656, allocations: 7.984 kB / 384.9 MB, free: 17.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.073e-05/0.009696, allocations: 154.3 kB / 385 MB, free: 17.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009696, allocations: 0 / 385 MB, free: 17.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003264/0.01002, allocations: 36 kB / 385.1 MB, free: 17.32 MB / 314.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.863e-05/0.0101, allocations: 99.17 kB / 385.2 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01026, allocations: 83.27 kB / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01026, allocations: 0 / 385.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.664e-05/0.01031, allocations: 35.61 kB / 385.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.01065, allocations: 40.44 kB / 385.3 MB, free: 17.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.01115, allocations: 247.7 kB / 385.6 MB, free: 16.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.431e-05/0.01119, allocations: 75.69 kB / 385.6 MB, free: 16.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.745e-05/0.01127, allocations: 20.47 kB / 385.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.01143, allocations: 122.1 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01144, allocations: 0 / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of Templates: time 0.004793/0.01623, allocations: 2.717 MB / 388.5 MB, free: 13.88 MB / 314.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.5007256362587214]