Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008737/0.0008737, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003898/0.003898, allocations: 153.4 kB / 24.7 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.874/0.874, allocations: 177 MB / 204.9 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2442/0.2442, allocations: 34.25 MB / 295.6 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.166e-05, allocations: 6.219 kB / 443.5 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.1683/0.1683, allocations: 1.783 MB / 445.3 MB, free: 43.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1693, allocations: 1.044 MB / 446.3 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.1694, allocations: 6.781 kB / 446.3 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.1698, allocations: 299 kB / 446.6 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.1701, allocations: 259.6 kB / 446.9 MB, free: 43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.1703, allocations: 112 kB / 447 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.1705, allocations: 266 kB / 447.2 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1705, allocations: 7.594 kB / 447.3 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1706, allocations: 149.1 kB / 447.4 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.1708, allocations: 205.1 kB / 447.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.1708, allocations: 7.938 kB / 447.6 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.1709, allocations: 49.77 kB / 447.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.026e-05/0.171, allocations: 146.6 kB / 447.8 MB, free: 42.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.171, allocations: 68.38 kB / 447.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1713, allocations: 345.8 kB / 448.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1713, allocations: 4.719 kB / 448.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1713, allocations: 0 / 448.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1713, allocations: 0.5625 kB / 448.2 MB, free: 42.53 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005497/0.1718, allocations: 0.6691 MB / 448.9 MB, free: 42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1719, allocations: 10.66 kB / 448.9 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.1719, allocations: 52.17 kB / 448.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.1723, allocations: 388.9 kB / 449.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.1723, allocations: 3.125 kB / 449.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1723, allocations: 3.312 kB / 449.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1724, allocations: 86.19 kB / 449.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1724, allocations: 4.891 kB / 449.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1725, allocations: 4.375 kB / 449.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1725, allocations: 10.53 kB / 449.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.1725, allocations: 36.98 kB / 449.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.1727, allocations: 302.3 kB / 449.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1729, allocations: 104.4 kB / 449.9 MB, free: 41.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.858e-05/0.173, allocations: 41.38 kB / 449.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.173, allocations: 0 / 449.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.1731, allocations: 110 kB / 450 MB, free: 41.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.1731, allocations: 0.8438 kB / 450 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002815/0.1734, allocations: 206.5 kB / 450.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.1734, allocations: 95.83 kB / 450.3 MB, free: 41.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005948/0.174, allocations: 1.035 MB / 451.3 MB, free: 40.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.174, allocations: 25.7 kB / 451.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.1741, allocations: 233.8 kB / 451.6 MB, free: 40.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.1741, allocations: 29.66 kB / 451.6 MB, free: 40.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1742, allocations: 29.89 kB / 451.7 MB, free: 40.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.412e-05/0.1742, allocations: 371.8 kB / 452 MB, free: 40.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.1743, allocations: 32.16 kB / 452 MB, free: 40.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.1743, allocations: 60.31 kB / 452.1 MB, free: 40.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/0.1744, allocations: 96.83 kB / 452.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1744, allocations: 2.906 kB / 452.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001561/0.1746, allocations: 171.7 kB / 452.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1746, allocations: 3.094 kB / 452.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1746, allocations: 5.578 kB / 452.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1746, allocations: 0 / 452.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.481e-05/0.1747, allocations: 35.16 kB / 452.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1747, allocations: 64 / 452.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.1747, allocations: 13.16 kB / 452.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1747, allocations: 2.812 kB / 452.4 MB, free: 39.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001199/0.1749, allocations: 228.6 kB / 452.7 MB, free: 39.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.1749, allocations: 54.66 kB / 452.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.1751, allocations: 201 kB / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1751, allocations: 2.906 kB / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1751, allocations: 3.938 kB / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1751, allocations: 0 / 452.9 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1753, allocations: 268.9 kB / 453.2 MB, free: 39.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1753, allocations: 4 kB / 453.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.1753, allocations: 19.92 kB / 453.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1753, allocations: 2.906 kB / 453.2 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1753, allocations: 4 kB / 453.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1753, allocations: 2.938 kB / 453.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1753, allocations: 0 / 453.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.1755, allocations: 219.7 kB / 453.4 MB, free: 39.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1755, allocations: 60.22 kB / 453.5 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1755, allocations: 2.844 kB / 453.5 MB, free: 39.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.1756, allocations: 14.33 kB / 453.5 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1756, allocations: 13.06 kB / 453.5 MB, free: 39.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1756, allocations: 5.656 kB / 453.5 MB, free: 39.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004162/0.1761, allocations: 0.7676 MB / 454.3 MB, free: 39.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1761, allocations: 3 kB / 454.3 MB, free: 39.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.1762, allocations: 53.3 kB / 454.3 MB, free: 39.02 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006626/0.1769, allocations: 430.8 kB / 454.8 MB, free: 38.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.177, allocations: 90.75 kB / 454.8 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.177, allocations: 4.062 kB / 454.9 MB, free: 38.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.1771, allocations: 42.22 kB / 454.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.1774, allocations: 66.19 kB / 455 MB, free: 38.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000757/0.1781, allocations: 0.9201 MB / 455.9 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.1783, allocations: 233.9 kB / 456.1 MB, free: 38.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.1783, allocations: 38.39 kB / 456.1 MB, free: 38.25 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1783, allocations: 0 / 456.1 MB, free: 38.25 MB / 410.7 MB Notification: Performance of Templates: time 0.004431/0.1827, allocations: 5.259 MB / 461.4 MB, free: 37.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.984915575012565]