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.001892/0.001892, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001967/0.001967, allocations: 165.3 kB / 24.27 MB, free: 152 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.541/1.541, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.3271/0.3271, allocations: 32.81 MB / 293.9 MB, free: 1.199 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.382e-06/1.382e-06, allocations: 0 / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.077e-05, allocations: 6.25 kB / 375.2 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003052/0.003083, allocations: 1.678 MB / 376.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.004406, allocations: 0.6349 MB / 377.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.00448, allocations: 0 / 377.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.054e-05/0.004521, allocations: 15.8 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.004632, allocations: 23.81 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.005072, allocations: 147.7 kB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.005321, allocations: 155.6 kB / 377.9 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.005449, allocations: 33.14 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.005673, allocations: 99.73 kB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.005782, allocations: 47.86 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.005819, allocations: 16 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.118e-05/0.00587, allocations: 16 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.005923, allocations: 43.83 kB / 378.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.005988, allocations: 43.89 kB / 378.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.00623, allocations: 147.5 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.006232, allocations: 7.938 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006233, allocations: 0 / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.006238, allocations: 0 / 378.3 MB, free: 1.887 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.0007254/0.006964, allocations: 467.7 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.007002, allocations: 12.02 kB / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.007192, allocations: 28.89 kB / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.007496, allocations: 178.7 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.007517, allocations: 8.375 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.007551, allocations: 12.38 kB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.008038, allocations: 319.5 kB / 379.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.00805, allocations: 192 / 379.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.008068, allocations: 8.375 kB / 379.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.008075, allocations: 3.938 kB / 379.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.0084, allocations: 103.8 kB / 379.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008485/0.009249, allocations: 423.4 kB / 379.9 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000475/0.009724, allocations: 155 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.00991, allocations: 55.7 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.009937, allocations: 7.938 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.009979, allocations: 37.39 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.00998, allocations: 4 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001242/0.01122, allocations: 425.3 kB / 380.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.01131, allocations: 110.8 kB / 380.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.0115, allocations: 217.8 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.01153, allocations: 25.7 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.01164, allocations: 162.8 kB / 381 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.01169, allocations: 31.73 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.01176, allocations: 39.36 kB / 381.1 MB, free: 14.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004993/0.01226, allocations: 0.5 MB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.01244, allocations: 63.53 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.01268, allocations: 138.4 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.013, allocations: 115.7 kB / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.013, allocations: 0 / 381.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004251/0.01343, allocations: 161.5 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.01344, allocations: 5.719 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.01345, allocations: 8 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01346, allocations: 0 / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.01363, allocations: 27.97 kB / 382.1 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.01364, allocations: 3.938 kB / 382.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01375, allocations: 15.98 kB / 382.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01376, allocations: 4 kB / 382.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001707/0.01393, allocations: 162.8 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001597/0.01409, allocations: 115 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001631/0.01425, allocations: 72.25 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.31e-07/0.01425, allocations: 0 / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002351/0.01449, allocations: 113.5 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.0145, allocations: 4 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-06/0.0145, allocations: 0 / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.0145, allocations: 4 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.01459, allocations: 19.92 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.01459, allocations: 7.984 kB / 382.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.01468, allocations: 15.98 kB / 382.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.01469, allocations: 4 kB / 382.6 MB, free: 13.21 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.000182/0.01487, allocations: 276 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.01492, allocations: 15.91 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.01497, allocations: 12.78 kB / 382.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.01498, allocations: 3.984 kB / 382.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.01498, allocations: 0 / 382.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.01499, allocations: 0 / 382.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.01582, allocations: 481.1 kB / 383.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.01583, allocations: 8 kB / 383.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.01598, allocations: 27.92 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01598, allocations: 3.984 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01599, allocations: 0 / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.016, allocations: 7.938 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.016, allocations: 3.938 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.01668, allocations: 371.4 kB / 383.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.0167, allocations: 7.953 kB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.01673, allocations: 3.984 kB / 383.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.017, allocations: 40 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.01706, allocations: 7.922 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.01708, allocations: 8 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.0172, allocations: 158.2 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0172, allocations: 0 / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.0175, allocations: 32 kB / 384.1 MB, free: 11.69 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.0001164/0.01762, allocations: 99.25 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.01815, allocations: 187.1 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01815, allocations: 0 / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.01834, allocations: 67.64 kB / 384.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.01871, allocations: 47.47 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.01932, allocations: 289.5 kB / 384.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.566e-05/0.01942, allocations: 93.88 kB / 384.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.957e-05/0.0195, allocations: 16.48 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.01956, allocations: 16.5 kB / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01956, allocations: 0 / 384.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of Templates: time 0.006263/0.02582, allocations: 2.448 MB / 387.3 MB, free: 8.426 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.92871195205953]