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.001363/0.001363, allocations: 84.34 kB / 20.96 MB, free: 3.453 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.001605/0.001605, allocations: 165.3 kB / 24.27 MB, free: 148 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.514/1.514, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.345/0.345, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.583e-06/1.583e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.041e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00364/0.00367, allocations: 1.669 MB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.005292, allocations: 0.6155 MB / 379.6 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.005469, allocations: 3.938 kB / 379.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 5.983e-05/0.005529, allocations: 7.875 kB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.005692, allocations: 31.72 kB / 379.6 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.006292, allocations: 151.7 kB / 379.8 MB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.006599, allocations: 155.5 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.006746, allocations: 29.22 kB / 379.9 MB, free: 308 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.007027, allocations: 99.78 kB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.007152, allocations: 47.88 kB / 380.1 MB, free: 160 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.007188, allocations: 12 kB / 380.1 MB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.523e-05/0.007263, allocations: 23.98 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.007308, allocations: 31.91 kB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.007374, allocations: 39.84 kB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.007677, allocations: 159.5 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.007679, allocations: 0 / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.00768, allocations: 0 / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.007685, allocations: 0 / 380.3 MB, free: 15.89 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.0007815/0.008466, allocations: 381.6 kB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.008502, allocations: 12.03 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.008698, allocations: 28.88 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.009038, allocations: 168 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.009062, allocations: 8.375 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.009106, allocations: 12.38 kB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005975/0.009703, allocations: 328.8 kB / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.009716, allocations: 192 / 381.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.009743, allocations: 8.375 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.00975, allocations: 7.875 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004305/0.01018, allocations: 123.9 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.01105, allocations: 368.1 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.01169, allocations: 190.4 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.01192, allocations: 72.8 kB / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.01195, allocations: 0 / 382 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.01199, allocations: 38.56 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 7.01e-07/0.01199, allocations: 0 / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001606/0.0136, allocations: 0.493 MB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.01368, allocations: 110.7 kB / 382.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.01385, allocations: 146.4 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.01388, allocations: 29.7 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.01397, allocations: 116 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.01403, allocations: 31.73 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.01409, allocations: 25.7 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.01429, allocations: 330.8 kB / 383.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.01454, allocations: 72.8 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.01484, allocations: 145.9 kB / 383.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.01529, allocations: 140.7 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.01529, allocations: 0 / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005403/0.01583, allocations: 193.5 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01585, allocations: 8 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.01585, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.01587, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.01608, allocations: 39.95 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.01609, allocations: 4 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.01623, allocations: 19.97 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.01624, allocations: 4 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001787/0.01642, allocations: 124 kB / 384 MB, free: 11.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001649/0.01658, allocations: 109.9 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002032/0.01679, allocations: 81.36 kB / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.51e-07/0.01679, allocations: 0 / 384.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003029/0.01709, allocations: 129.5 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.0171, allocations: 4 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-06/0.0171, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.816e-06/0.0171, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.01721, allocations: 23.98 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-06/0.01721, allocations: 4 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.01731, allocations: 15.98 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.01731, allocations: 0 / 384.4 MB, free: 11.5 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.0001427/0.01746, allocations: 188.2 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.01752, allocations: 23.84 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.01757, allocations: 16.77 kB / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01757, allocations: 0 / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01757, allocations: 0 / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01758, allocations: 0 / 384.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009766/0.01855, allocations: 446.8 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01855, allocations: 4 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000435/0.01899, allocations: 31.97 kB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01899, allocations: 4.031 kB / 385.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.01901, allocations: 11.98 kB / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01901, allocations: 0 / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.01902, allocations: 3.938 kB / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008589/0.01987, allocations: 356.1 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.0199, allocations: 11.97 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.01992, allocations: 4 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.0202, allocations: 40.02 kB / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.02025, allocations: 11.92 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.02026, allocations: 8 kB / 385.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.02037, allocations: 118.2 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02037, allocations: 0 / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.0207, allocations: 32 kB / 385.7 MB, free: 10.15 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.0001467/0.02085, allocations: 95.25 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000641/0.02149, allocations: 191.7 kB / 386 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.02149, allocations: 0 / 386 MB, free: 9.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.02175, allocations: 75.88 kB / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.02216, allocations: 53.28 kB / 386.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.0229, allocations: 289.8 kB / 386.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.02301, allocations: 89.81 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.315e-05/0.0231, allocations: 20.48 kB / 386.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.02317, allocations: 16.5 kB / 386.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02317, allocations: 0 / 386.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of Templates: time 0.007486/0.03066, allocations: 2.433 MB / 388.9 MB, free: 6.898 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.067783333011903]