Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.0007844/0.0007844, allocations: 87.62 kB / 21.43 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.003262/0.003262, allocations: 164 kB / 24.7 MB, free: 8.891 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.8513/0.8513, allocations: 177.1 MB / 205 MB, free: 5.746 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.2352/0.2352, allocations: 32.8 MB / 294.2 MB, free: 1.211 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.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.356e-05, allocations: 8.391 kB / 440.9 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002069/0.002093, allocations: 1.705 MB / 442.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.003222, allocations: 0.978 MB / 443.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.003303, allocations: 4 kB / 443.6 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.003574, allocations: 43.7 kB / 443.7 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.003847, allocations: 99.47 kB / 443.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.004016, allocations: 79.59 kB / 443.8 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.004168, allocations: 99.7 kB / 443.9 MB, free: 0.625 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.004265, allocations: 11.98 kB / 444 MB, free: 0.6133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/0.004346, allocations: 59.77 kB / 444 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.161e-05/0.004418, allocations: 27.91 kB / 444 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.004434, allocations: 4 kB / 444 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.004511, allocations: 43.92 kB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.004561, allocations: 23.86 kB / 444.1 MB, free: 468 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.004598, allocations: 19.92 kB / 444.1 MB, free: 448 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.004765, allocations: 115.6 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004767, allocations: 3.938 kB / 444.2 MB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.004768, allocations: 4 kB / 444.2 MB, free: 324 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.004772, allocations: 0 / 444.2 MB, free: 324 kB / 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.1615/0.1663, allocations: 341.9 kB / 444.6 MB, free: 46.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1663, allocations: 10.62 kB / 444.6 MB, free: 46.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.1664, allocations: 20.11 kB / 444.6 MB, free: 46.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1666, allocations: 140.2 kB / 444.7 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.1666, allocations: 5.312 kB / 444.8 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.1666, allocations: 384 / 444.8 MB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1667, allocations: 61.22 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1667, allocations: 0 / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1667, allocations: 0.6875 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1667, allocations: 2.562 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.17e-05/0.1668, allocations: 23.78 kB / 444.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.167, allocations: 242.7 kB / 445.1 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1671, allocations: 58 kB / 445.1 MB, free: 46.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.1672, allocations: 20.83 kB / 445.2 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.1672, allocations: 0.9375 kB / 445.2 MB, free: 46.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001002/0.1673, allocations: 70.83 kB / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.1673, allocations: 0 / 445.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003776/0.1677, allocations: 181.3 kB / 445.4 MB, free: 46.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.1677, allocations: 54.09 kB / 445.5 MB, free: 46.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.1678, allocations: 203.5 kB / 445.7 MB, free: 46.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.066e-06/0.1678, allocations: 32.8 kB / 445.7 MB, free: 46.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.1678, allocations: 104.2 kB / 445.8 MB, free: 46.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1678, allocations: 30.05 kB / 445.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.1679, allocations: 20.88 kB / 445.8 MB, free: 46.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.875e-05/0.1679, allocations: 326.6 kB / 446.2 MB, free: 45.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.1679, allocations: 25.56 kB / 446.2 MB, free: 45.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.168, allocations: 34.94 kB / 446.2 MB, free: 45.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.168, allocations: 64.05 kB / 446.3 MB, free: 45.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.168, allocations: 2.938 kB / 446.3 MB, free: 45.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001015/0.1681, allocations: 113.5 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.1681, allocations: 4.188 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1681, allocations: 6.812 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1682, allocations: 0 / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.1682, allocations: 20.66 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1682, allocations: 0 / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.1682, allocations: 4.219 kB / 446.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1683, allocations: 2.844 kB / 446.4 MB, free: 45.61 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.006e-05/0.1683, allocations: 127.2 kB / 446.6 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.1683, allocations: 13.7 kB / 446.6 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.1684, allocations: 124.8 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1685, allocations: 3.469 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1685, allocations: 2.906 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1685, allocations: 3.172 kB / 446.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.1687, allocations: 351.8 kB / 447 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1687, allocations: 2.906 kB / 447 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.1687, allocations: 12.81 kB / 447.1 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1687, allocations: 0 / 447.1 MB, free: 45.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1687, allocations: 6.938 kB / 447.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1687, allocations: 8.062 kB / 447.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1687, allocations: 0 / 447.1 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.544e-05/0.1688, allocations: 211.1 kB / 447.3 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-06/0.1688, allocations: 14.17 kB / 447.3 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1688, allocations: 6.344 kB / 447.3 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.1689, allocations: 6.656 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.1689, allocations: 5.375 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1689, allocations: 6.031 kB / 447.3 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.1689, allocations: 148.6 kB / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1689, allocations: 0 / 447.5 MB, free: 44.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.1691, allocations: 29.88 kB / 447.5 MB, free: 44.87 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.0006705/0.1698, allocations: 0.4883 MB / 448 MB, free: 44.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.1699, allocations: 60.66 kB / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.1699, allocations: 0 / 448 MB, free: 44.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.1699, allocations: 34 kB / 448.1 MB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.1702, allocations: 34.55 kB / 448.1 MB, free: 44.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.1704, allocations: 264.9 kB / 448.4 MB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.515e-05/0.1705, allocations: 93.11 kB / 448.5 MB, free: 44.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.1705, allocations: 18.62 kB / 448.5 MB, free: 44.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.1705, allocations: 6.734 kB / 448.5 MB, free: 44.39 MB / 410.7 MB Notification: Performance of Templates: time 0.002064/0.1726, allocations: 2.009 MB / 450.5 MB, free: 44.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.837383545935154]