Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.0008704/0.0008704, 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.003234/0.003234, allocations: 161.5 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.8954/0.8954, allocations: 177.1 MB / 205 MB, free: 5.715 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.2248/0.2248, allocations: 34.26 MB / 295.7 MB, free: 0.6875 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 3.938 kB / 443.5 MB, free: 1.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.861e-05/3.038e-05, allocations: 2.281 kB / 443.5 MB, free: 1.059 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.1605/0.1605, allocations: 1.664 MB / 445.2 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009213/0.1614, allocations: 0.9538 MB / 446.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.1615, allocations: 0 / 446.1 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1617, allocations: 60.78 kB / 446.2 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.162, allocations: 99.73 kB / 446.3 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.1621, allocations: 77.88 kB / 446.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1622, allocations: 106 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.1622, allocations: 3.016 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.067e-05/0.1623, allocations: 60.75 kB / 446.5 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.1624, allocations: 32.44 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1624, allocations: 2.625 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.1625, allocations: 46.52 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.1625, allocations: 23.11 kB / 446.6 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.1626, allocations: 13.44 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1627, allocations: 105 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1627, allocations: 2.625 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1627, allocations: 0 / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1627, allocations: 0 / 446.8 MB, free: 43.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003617/0.1631, allocations: 329.9 kB / 447.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1631, allocations: 10.47 kB / 447.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1631, allocations: 10.42 kB / 447.1 MB, free: 42.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.1633, allocations: 153.4 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1633, allocations: 6.406 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.1633, allocations: 3.125 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.1634, allocations: 51.44 kB / 447.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1634, allocations: 3.938 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1635, allocations: 0 / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1635, allocations: 3.938 kB / 447.3 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.1635, allocations: 21.27 kB / 447.3 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.1636, allocations: 125.9 kB / 447.5 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.399e-05/0.1637, allocations: 52.58 kB / 447.5 MB, free: 42.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.1637, allocations: 20.41 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1637, allocations: 7.344 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.087e-05/0.1638, allocations: 67.08 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.1638, allocations: 0 / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001737/0.164, allocations: 101.2 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.028e-05/0.164, allocations: 54.64 kB / 447.8 MB, free: 42.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.1641, allocations: 181.1 kB / 447.9 MB, free: 42.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.172e-06/0.1641, allocations: 29.64 kB / 448 MB, free: 42.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.458e-05/0.1641, allocations: 105.2 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.1642, allocations: 14.81 kB / 448.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1642, allocations: 19.8 kB / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.883e-05/0.1642, allocations: 324.8 kB / 448.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.1643, allocations: 19.22 kB / 448.4 MB, free: 41.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.1643, allocations: 25.83 kB / 448.5 MB, free: 41.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.1643, allocations: 44.73 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1643, allocations: 1.75 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.712e-05/0.1644, allocations: 87.8 kB / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1644, allocations: 6.656 kB / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1644, allocations: 3.938 kB / 448.6 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1644, allocations: 4.031 kB / 448.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.1645, allocations: 8.688 kB / 448.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1645, allocations: 2.875 kB / 448.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.1645, allocations: 10.11 kB / 448.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1645, allocations: 0 / 448.6 MB, free: 41.48 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 (7): * Single equations (assignments): 7 * 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.676e-05/0.1646, allocations: 124.7 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-06/0.1646, allocations: 12.89 kB / 448.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1647, allocations: 106.8 kB / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1647, allocations: 0 / 448.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1647, allocations: 4 kB / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1647, allocations: 0 / 448.9 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.754e-05/0.1648, allocations: 132.6 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1648, allocations: 0 / 449 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.1648, allocations: 10.94 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1648, allocations: 2.938 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1648, allocations: 0 / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1648, allocations: 3.938 kB / 449 MB, free: 41.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1648, allocations: 3.938 kB / 449 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.828e-05/0.1649, allocations: 116.9 kB / 449.1 MB, free: 41.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.1649, allocations: 6.953 kB / 449.1 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1649, allocations: 6.938 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.705e-05/0.1649, allocations: 7.219 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.1649, allocations: 2.906 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.165, allocations: 6.969 kB / 449.2 MB, free: 41.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.165, allocations: 143.6 kB / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.165, allocations: 0 / 449.3 MB, free: 40.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001386/0.1651, allocations: 14.34 kB / 449.3 MB, free: 40.95 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: 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 (6): * Single equations (assignments): 4 * 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.0006489/0.1658, allocations: 441.9 kB / 449.8 MB, free: 40.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.1659, allocations: 49.61 kB / 449.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1659, allocations: 0 / 449.8 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.1659, allocations: 23.05 kB / 449.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.1661, allocations: 26.89 kB / 449.9 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.1664, allocations: 230 kB / 450.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.1664, allocations: 89.3 kB / 450.2 MB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1665, allocations: 14.28 kB / 450.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1665, allocations: 4.062 kB / 450.2 MB, free: 40.5 MB / 410.7 MB Notification: Performance of Templates: time 0.002238/0.1687, allocations: 1.747 MB / 451.9 MB, free: 40.33 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.585375905968249]