Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.0008055/0.0008055, allocations: 87.62 kB / 21.44 MB, free: 3.133 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.003586/0.003586, allocations: 161.9 kB / 24.7 MB, free: 9.43 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.8504/0.8504, 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.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.2208/0.2208, allocations: 34.25 MB / 295.7 MB, free: 0.6992 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.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 443.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.655e-05, allocations: 2.281 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.1645/0.1645, allocations: 1.707 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1655, allocations: 0.9674 MB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.1656, allocations: 2.906 kB / 446.2 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1658, allocations: 46.06 kB / 446.3 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.1661, allocations: 96.59 kB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.1662, allocations: 80.36 kB / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1663, allocations: 109.1 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.955e-05/0.1664, allocations: 5.406 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.1665, allocations: 60.12 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.1665, allocations: 27.39 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1665, allocations: 5.25 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.1666, allocations: 42.19 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.833e-05/0.1667, allocations: 26.81 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.1667, allocations: 19.95 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.1669, allocations: 116.4 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1669, allocations: 4.875 kB / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1669, allocations: 0 / 446.8 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1669, allocations: 0 / 446.8 MB, free: 43.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003609/0.1672, allocations: 349.3 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1673, allocations: 15.56 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1673, allocations: 14.84 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1675, allocations: 149.5 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1675, allocations: 384 / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1675, allocations: 3.406 kB / 447.4 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.1676, allocations: 55.61 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1676, allocations: 9.688 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1676, allocations: 0 / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1677, allocations: 0 / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.1677, allocations: 22.95 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.1679, allocations: 233 kB / 447.7 MB, free: 42.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.168, allocations: 56.88 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.1681, allocations: 28 kB / 447.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1681, allocations: 0 / 447.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.1682, allocations: 74.22 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.91e-07/0.1682, allocations: 0 / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003619/0.1686, allocations: 184.7 kB / 448 MB, free: 42.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.1686, allocations: 54.31 kB / 448.1 MB, free: 42.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1687, allocations: 204.3 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.683e-06/0.1687, allocations: 25.7 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.1687, allocations: 105.7 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1687, allocations: 17.84 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.1688, allocations: 24.66 kB / 448.4 MB, free: 41.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.917e-05/0.1688, allocations: 324 kB / 448.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.1688, allocations: 26.48 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.1689, allocations: 43.28 kB / 448.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.228e-05/0.1689, allocations: 65.8 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1689, allocations: 2.625 kB / 448.9 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.654e-05/0.169, allocations: 101.6 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.169, allocations: 6.594 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.169, allocations: 3 kB / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1691, allocations: 0 / 449 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.1691, allocations: 18.61 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1691, allocations: 6.906 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.1691, allocations: 6.875 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1692, allocations: 2.938 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.245e-05/0.1692, allocations: 131.1 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1692, allocations: 9.828 kB / 449.2 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.1694, allocations: 118.9 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1694, allocations: 2.844 kB / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1694, allocations: 0 / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1694, allocations: 0 / 449.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1696, allocations: 364.8 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1696, allocations: 0 / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.1696, allocations: 11.31 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1696, allocations: 0 / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1696, allocations: 2.719 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1696, allocations: 1.5 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1696, allocations: 3.938 kB / 449.7 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.1697, allocations: 211.8 kB / 449.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.1697, allocations: 24.73 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.1697, allocations: 32 / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.1698, allocations: 10.81 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.1698, allocations: 6.234 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1698, allocations: 9.5 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.1699, allocations: 159.8 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1699, allocations: 0 / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.1701, allocations: 21.56 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007451/0.1708, allocations: 0.4923 MB / 450.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.1709, allocations: 60.98 kB / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1709, allocations: 0 / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.816e-05/0.171, allocations: 28.36 kB / 450.7 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.1712, allocations: 34.34 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.1715, allocations: 255.8 kB / 451 MB, free: 40.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.1716, allocations: 97.08 kB / 451 MB, free: 40.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.1716, allocations: 17.09 kB / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1716, allocations: 0 / 451.1 MB, free: 40.05 MB / 410.7 MB Notification: Performance of Templates: time 0.002296/0.1739, allocations: 2.002 MB / 453.1 MB, free: 39.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.636774176731706]