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.00129/0.00129, allocations: 83.92 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001352/0.001352, allocations: 167.9 kB / 23.95 MB, free: 4.16 MB / 14.72 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.369/1.369, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 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.193/0.193, allocations: 32.8 MB / 293.5 MB, free: 44 kB / 270.1 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.042e-06/1.042e-06, allocations: 0 / 440.1 MB, free: 8.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.514e-05, allocations: 2.281 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002704/0.002729, allocations: 1.662 MB / 441.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.003906, allocations: 0.6271 MB / 442.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.00398, allocations: 4 kB / 442.4 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.004022, allocations: 15.8 kB / 442.4 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.004122, allocations: 11.86 kB / 442.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.004572, allocations: 162.3 kB / 442.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.004782, allocations: 151.7 kB / 442.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.004889, allocations: 25.28 kB / 442.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.005106, allocations: 103.7 kB / 442.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.005208, allocations: 51.88 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.005241, allocations: 12 kB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.005291, allocations: 16 kB / 442.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.005335, allocations: 35.84 kB / 442.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.005395, allocations: 39.89 kB / 443 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.005618, allocations: 159.5 kB / 443.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00562, allocations: 0 / 443.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00562, allocations: 0 / 443.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.005624, allocations: 0 / 443.1 MB, free: 5.109 MB / 366.1 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.0006733/0.006297, allocations: 381.7 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.006328, allocations: 8.031 kB / 443.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.006487, allocations: 28.83 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.006764, allocations: 164.6 kB / 443.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.00678, allocations: 4.375 kB / 443.7 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.006813, allocations: 16.36 kB / 443.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.007341, allocations: 329.7 kB / 444 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.007352, allocations: 192 / 444 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.007376, allocations: 8.375 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.007385, allocations: 7.938 kB / 444.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.007808, allocations: 127.9 kB / 444.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.008616, allocations: 364 kB / 444.5 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.009245, allocations: 198.3 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.009472, allocations: 72.8 kB / 444.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.009496, allocations: 4 kB / 444.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.009532, allocations: 34.56 kB / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.009534, allocations: 0 / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001505/0.01104, allocations: 0.489 MB / 445.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.01111, allocations: 106.8 kB / 445.4 MB, free: 2.594 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.01125, allocations: 154.5 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.01127, allocations: 29.64 kB / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.01135, allocations: 112 kB / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.01139, allocations: 35.69 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.01145, allocations: 25.72 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.01159, allocations: 322.8 kB / 446.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.01183, allocations: 76.78 kB / 446.2 MB, free: 1.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.01211, allocations: 145.9 kB / 446.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.01256, allocations: 144.7 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.01256, allocations: 0 / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005155/0.01307, allocations: 181.8 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01309, allocations: 4 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01309, allocations: 0 / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01311, allocations: 11.98 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.0133, allocations: 35.91 kB / 446.7 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.01331, allocations: 3.984 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.01345, allocations: 23.98 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.01346, allocations: 3.984 kB / 446.7 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001595/0.01362, allocations: 124.7 kB / 446.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001545/0.01377, allocations: 113.9 kB / 447 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001913/0.01396, allocations: 76.77 kB / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.62e-07/0.01396, allocations: 0 / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002613/0.01422, allocations: 117.5 kB / 447.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.01423, allocations: 4 kB / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-06/0.01423, allocations: 0 / 447.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-06/0.01423, allocations: 4.031 kB / 447.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-05/0.01433, allocations: 23.98 kB / 447.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-06/0.01433, allocations: 0 / 447.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.01443, allocations: 16.36 kB / 447.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.01443, allocations: 0 / 447.2 MB, free: 0.7383 MB / 366.1 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.0001286/0.01456, allocations: 188.2 kB / 447.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.0146, allocations: 15.91 kB / 447.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.01466, allocations: 20.7 kB / 447.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01466, allocations: 0 / 447.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01466, allocations: 4 kB / 447.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01466, allocations: 0 / 447.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.01554, allocations: 442.9 kB / 447.8 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01554, allocations: 7.969 kB / 447.9 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1582/0.1738, allocations: 36.77 kB / 447.9 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1738, allocations: 1.844 kB / 447.9 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1738, allocations: 4.219 kB / 447.9 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1738, allocations: 1.688 kB / 447.9 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1738, allocations: 4.844 kB / 447.9 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.1746, allocations: 361.1 kB / 448.3 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.1746, allocations: 6.766 kB / 448.3 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1747, allocations: 1.922 kB / 448.3 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.1749, allocations: 42.14 kB / 448.3 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.175, allocations: 9.969 kB / 448.3 MB, free: 21.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.175, allocations: 8.703 kB / 448.3 MB, free: 21.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.515e-05/0.1751, allocations: 115 kB / 448.4 MB, free: 21.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1751, allocations: 0 / 448.4 MB, free: 21.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.1754, allocations: 31.44 kB / 448.5 MB, free: 21.29 MB / 366.1 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.073e-05/0.1755, allocations: 99.64 kB / 448.6 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005981/0.1761, allocations: 191.9 kB / 448.7 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1761, allocations: 1.219 kB / 448.7 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.1763, allocations: 75.61 kB / 448.8 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1767, allocations: 38.53 kB / 448.9 MB, free: 21.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.1773, allocations: 278.5 kB / 449.1 MB, free: 21.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.698e-05/0.1773, allocations: 90.83 kB / 449.2 MB, free: 20.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.03e-05/0.1774, allocations: 21.75 kB / 449.2 MB, free: 20.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.1775, allocations: 17.58 kB / 449.3 MB, free: 20.96 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1775, allocations: 0 / 449.3 MB, free: 20.96 MB / 366.1 MB Notification: Performance of Templates: time 0.00588/0.1833, allocations: 2.421 MB / 451.7 MB, free: 20.76 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 480] 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.460867594927549]