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.001099/0.001099, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004421/0.004421, allocations: 160.9 kB / 24.7 MB, free: 8.898 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 0.862/0.862, allocations: 177.1 MB / 205 MB, free: 5.734 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.2593/0.2593, allocations: 32.79 MB / 294.2 MB, free: 1.191 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.493e-06/1.493e-06, allocations: 0 / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.786e-05, allocations: 2.281 kB / 440.8 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001867/0.001885, allocations: 1.665 MB / 442.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009413/0.002826, allocations: 0.6271 MB / 443.1 MB, free: 1.465 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.676e-05/0.002903, allocations: 3.938 kB / 443.1 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.002936, allocations: 15.86 kB / 443.1 MB, free: 1.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/0.003031, allocations: 19.75 kB / 443.2 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.003378, allocations: 158.5 kB / 443.3 MB, free: 1.273 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.003538, allocations: 155.6 kB / 443.5 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.003657, allocations: 33.16 kB / 443.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.003817, allocations: 95.84 kB / 443.6 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.003896, allocations: 43.83 kB / 443.6 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.00392, allocations: 20 kB / 443.7 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.079e-05/0.00396, allocations: 15.98 kB / 443.7 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.003984, allocations: 35.91 kB / 443.7 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.00428, allocations: 43.89 kB / 443.7 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.004447, allocations: 159.5 kB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004449, allocations: 0 / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00445, allocations: 0 / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004453, allocations: 0 / 443.9 MB, free: 0.6836 MB / 410.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.0004659/0.004919, allocations: 377.7 kB / 444.3 MB, free: 292 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.004953, allocations: 12.03 kB / 444.3 MB, free: 280 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.005064, allocations: 24.83 kB / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.005264, allocations: 172.5 kB / 444.5 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.005277, allocations: 4.375 kB / 444.5 MB, free: 56 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.005299, allocations: 8.375 kB / 444.5 MB, free: 48 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1715/0.1768, allocations: 323 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1768, allocations: 3.156 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.1769, allocations: 5.562 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1769, allocations: 2.906 kB / 444.8 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1771, allocations: 125.1 kB / 444.9 MB, free: 46.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.1775, allocations: 362.2 kB / 445.3 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.1778, allocations: 195.4 kB / 445.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.1779, allocations: 67.19 kB / 445.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.178, allocations: 10.86 kB / 445.6 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.178, allocations: 37.16 kB / 445.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.178, allocations: 0 / 445.6 MB, free: 46.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008087/0.1788, allocations: 0.495 MB / 446.1 MB, free: 46.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1788, allocations: 105.7 kB / 446.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.033e-05/0.1789, allocations: 148.9 kB / 446.3 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.1789, allocations: 25.7 kB / 446.4 MB, free: 45.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.1789, allocations: 115.1 kB / 446.5 MB, free: 45.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.179, allocations: 36.81 kB / 446.5 MB, free: 45.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.179, allocations: 27.56 kB / 446.5 MB, free: 45.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.354e-05/0.179, allocations: 324 kB / 446.9 MB, free: 45.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1791, allocations: 72.34 kB / 446.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1793, allocations: 144.9 kB / 447.1 MB, free: 45.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.1795, allocations: 147.4 kB / 447.2 MB, free: 45.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1795, allocations: 0 / 447.2 MB, free: 45.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002329/0.1797, allocations: 189.4 kB / 447.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1797, allocations: 7.719 kB / 447.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1797, allocations: 2.656 kB / 447.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1797, allocations: 3.938 kB / 447.4 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1798, allocations: 41.62 kB / 447.5 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1798, allocations: 0 / 447.5 MB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.757e-05/0.1799, allocations: 30.69 kB / 447.5 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.1799, allocations: 3.062 kB / 447.5 MB, free: 45.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.753e-05/0.18, allocations: 121.2 kB / 447.6 MB, free: 45.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.811e-05/0.18, allocations: 108.4 kB / 447.7 MB, free: 45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.234e-05/0.1801, allocations: 76.05 kB / 447.8 MB, free: 44.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.71e-07/0.1801, allocations: 8.438 kB / 447.8 MB, free: 44.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001129/0.1802, allocations: 110.1 kB / 447.9 MB, free: 44.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-06/0.1802, allocations: 9.094 kB / 447.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.72e-07/0.1802, allocations: 0 / 447.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.1802, allocations: 2.75 kB / 447.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.945e-05/0.1803, allocations: 27.41 kB / 447.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.52e-07/0.1803, allocations: 0 / 447.9 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.1803, allocations: 14.47 kB / 448 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.1803, allocations: 6.688 kB / 448 MB, free: 44.9 MB / 410.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 4.611e-05/0.1803, allocations: 183.2 kB / 448.1 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.1804, allocations: 13.72 kB / 448.1 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.1804, allocations: 14.67 kB / 448.2 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1804, allocations: 7.156 kB / 448.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1804, allocations: 0 / 448.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1804, allocations: 0 / 448.2 MB, free: 44.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.1808, allocations: 443.8 kB / 448.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1808, allocations: 2.781 kB / 448.6 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.1809, allocations: 41.41 kB / 448.6 MB, free: 44.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1809, allocations: 2.938 kB / 448.6 MB, free: 44.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1809, allocations: 7.969 kB / 448.7 MB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1809, allocations: 0 / 448.7 MB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1809, allocations: 4.438 kB / 448.7 MB, free: 44.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.1813, allocations: 355.5 kB / 449 MB, free: 44.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.1813, allocations: 14.53 kB / 449 MB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1813, allocations: 6.812 kB / 449 MB, free: 44.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1814, allocations: 35.34 kB / 449.1 MB, free: 44.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1815, allocations: 6.188 kB / 449.1 MB, free: 44.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1815, allocations: 14.22 kB / 449.1 MB, free: 44.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.126e-05/0.1815, allocations: 112.3 kB / 449.2 MB, free: 44.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1815, allocations: 0 / 449.2 MB, free: 44.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001911/0.1817, allocations: 33.09 kB / 449.2 MB, free: 44.1 MB / 410.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.387e-05/0.1818, allocations: 98.62 kB / 449.3 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.1821, allocations: 186.8 kB / 449.5 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1821, allocations: 2.719 kB / 449.5 MB, free: 43.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1822, allocations: 74.69 kB / 449.6 MB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1824, allocations: 38.17 kB / 449.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.1828, allocations: 298.5 kB / 449.9 MB, free: 43.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.036e-05/0.1828, allocations: 92.8 kB / 450 MB, free: 43.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.1829, allocations: 17.12 kB / 450 MB, free: 43.66 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1829, allocations: 0 / 450 MB, free: 43.66 MB / 410.7 MB Notification: Performance of Templates: time 0.002019/0.1849, allocations: 1.881 MB / 451.9 MB, free: 43.54 MB / 410.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=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.853282980620861]