Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.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.001145/0.001145, 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.006881/0.006881, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.9083/0.9083, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2403/0.2403, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds") translateModel(ModelicaTest.Blocks.ZeroThresholds,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|greaterThreshold.y|greaterEqualThreshold.y|lessThreshold.y|lessEqualThreshold.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 443.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.375e-05, allocations: 6.281 kB / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ZeroThresholds): time 0.1677/0.1677, allocations: 1.7 MB / 445.1 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.1681, allocations: 151.2 kB / 445.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.1681, allocations: 5.406 kB / 445.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.1682, allocations: 13.84 kB / 445.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.866e-05/0.1682, allocations: 8.531 kB / 445.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1685, allocations: 108.8 kB / 445.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1686, allocations: 110.2 kB / 445.5 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1687, allocations: 20.5 kB / 445.5 MB, free: 43.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.853e-05/0.1688, allocations: 62.59 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.1688, allocations: 28.48 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1688, allocations: 7.688 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.1688, allocations: 7.969 kB / 445.6 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.1689, allocations: 24.95 kB / 445.7 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.1689, allocations: 30.75 kB / 445.7 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.169, allocations: 101 kB / 445.8 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.169, allocations: 0 / 445.8 MB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.169, allocations: 0.875 kB / 445.8 MB, free: 43.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.169, allocations: 0 / 445.8 MB, free: 43.62 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004178/0.1694, allocations: 369.1 kB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1695, allocations: 9.219 kB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1695, allocations: 10.8 kB / 446.2 MB, free: 43.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.1697, allocations: 145.1 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1697, allocations: 14.12 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1697, allocations: 6.188 kB / 446.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.1699, allocations: 202.3 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.1699, allocations: 192 / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1699, allocations: 6.75 kB / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1699, allocations: 384 / 446.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.1701, allocations: 127.2 kB / 446.7 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.1705, allocations: 473.5 kB / 447.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1707, allocations: 135.7 kB / 447.3 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.1708, allocations: 54.56 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1708, allocations: 2.094 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.1708, allocations: 30.56 kB / 447.3 MB, free: 42.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1708, allocations: 9.625 kB / 447.4 MB, free: 42.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003366/0.1711, allocations: 190.4 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.1712, allocations: 106.1 kB / 447.6 MB, free: 42.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.1712, allocations: 142.3 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.1712, allocations: 28.61 kB / 447.8 MB, free: 42.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1713, allocations: 105.9 kB / 447.9 MB, free: 42.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.048e-05/0.1713, allocations: 24.33 kB / 447.9 MB, free: 42.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1713, allocations: 28.78 kB / 448 MB, free: 42.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.842e-05/0.1714, allocations: 320.7 kB / 448.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.1714, allocations: 50.97 kB / 448.3 MB, free: 41.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1715, allocations: 143.7 kB / 448.5 MB, free: 41.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1717, allocations: 109.5 kB / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1717, allocations: 0 / 448.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.1719, allocations: 155.8 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1719, allocations: 5.25 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1719, allocations: 0 / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1719, allocations: 0 / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.172, allocations: 32.34 kB / 448.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.172, allocations: 4.062 kB / 448.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.1721, allocations: 28.42 kB / 448.8 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1721, allocations: 6.016 kB / 448.8 MB, free: 41.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (lessEqualThreshold.y,lessThreshold.y,greaterEqualThreshold.y,greaterThreshold.y) * 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 5.166e-05/0.1721, allocations: 131.8 kB / 448.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/0.1722, allocations: 6.422 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.789e-05/0.1722, allocations: 11.41 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1722, allocations: 2.5 kB / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.1722, allocations: 0 / 449 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1722, allocations: 7.234 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.89e-05/0.1723, allocations: 138.6 kB / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1723, allocations: 0 / 449.1 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.1723, allocations: 33.92 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1723, allocations: 3.938 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1723, allocations: 1.5 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1724, allocations: 2.844 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1724, allocations: 0 / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.1725, allocations: 240.8 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.1726, allocations: 11 kB / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1726, allocations: 0 / 449.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.1726, allocations: 29.33 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.1727, allocations: 6.047 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.1727, allocations: 10.05 kB / 449.4 MB, free: 41.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.833e-05/0.1727, allocations: 99.98 kB / 449.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1727, allocations: 4 kB / 449.5 MB, free: 40.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.1729, allocations: 22.47 kB / 449.5 MB, free: 40.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (greaterThreshold.y,greaterEqualThreshold.y,lessThreshold.y,lessEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 6.989e-05/0.1729, allocations: 94.36 kB / 449.6 MB, free: 40.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1732, allocations: 117.4 kB / 449.8 MB, free: 40.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1732, allocations: 8.125 kB / 449.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.1732, allocations: 55.52 kB / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.1735, allocations: 19.92 kB / 449.8 MB, free: 40.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.1738, allocations: 241.5 kB / 450.1 MB, free: 40.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.1738, allocations: 88.58 kB / 450.2 MB, free: 40.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.1739, allocations: 24.17 kB / 450.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1739, allocations: 0 / 450.2 MB, free: 40.52 MB / 410.7 MB Notification: Performance of Templates: time 0.001831/0.1757, allocations: 1.449 MB / 451.6 MB, free: 40.45 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ZeroThresholds/ZeroThresholds.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.ZeroThresholds.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.368632140569389]