Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.00124, allocations: 103.8 kB / 16.27 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 184.4 kB / 17.19 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2543/0.2543, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001956, allocations: 66.61 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1533, allocations: 57.79 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003581/0.1569, allocations: 1.776 MB / 442.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1592, allocations: 1.479 MB / 443.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1594, allocations: 4 kB / 443.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.16, allocations: 55.69 kB / 443.8 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.1605, allocations: 91.53 kB / 443.9 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.1611, allocations: 139.6 kB / 444.1 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.1615, allocations: 179.5 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1616, allocations: 13.55 kB / 444.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1618, allocations: 79.58 kB / 444.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1621, allocations: 67.69 kB / 444.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.1621, allocations: 12 kB / 444.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.1624, allocations: 63.95 kB / 444.5 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.1625, allocations: 31.86 kB / 444.5 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.1626, allocations: 59.61 kB / 444.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.1629, allocations: 171.8 kB / 444.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.163, allocations: 0 / 444.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.163, allocations: 0 / 444.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.163, allocations: 0 / 444.7 MB, free: 2.688 MB / 318.1 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.00079/0.1638, allocations: 470.5 kB / 445.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.1639, allocations: 15.89 kB / 445.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.164, allocations: 16.75 kB / 445.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.1643, allocations: 247.4 kB / 445.5 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1643, allocations: 4.375 kB / 445.5 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1644, allocations: 12.12 kB / 445.5 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.1647, allocations: 97.02 kB / 445.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1647, allocations: 0 / 445.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1647, allocations: 8 kB / 445.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1647, allocations: 0 / 445.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1649, allocations: 31.97 kB / 445.6 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.1652, allocations: 206.5 kB / 445.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.1655, allocations: 113.2 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001221/0.1657, allocations: 45.58 kB / 446 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.1657, allocations: 4 kB / 446 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.1661, allocations: 112.9 kB / 446.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.694e-06/0.1662, allocations: 4 kB / 446.1 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006864/0.1668, allocations: 169.8 kB / 446.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.1669, allocations: 128.5 kB / 446.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.1672, allocations: 215.8 kB / 446.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1673, allocations: 25.7 kB / 446.6 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.1673, allocations: 112.1 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.1674, allocations: 27.64 kB / 446.8 MB, free: 416 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.1675, allocations: 33.66 kB / 446.8 MB, free: 376 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.1676, allocations: 334.8 kB / 447.1 MB, free: 32 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.1677, allocations: 23.98 kB / 447.1 MB, free: 8 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.1679, allocations: 69.14 kB / 447.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.1682, allocations: 91.38 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1682, allocations: 0 / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004445/0.1686, allocations: 137.3 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.1687, allocations: 8 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.1687, allocations: 3.984 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.1687, allocations: 0 / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.1689, allocations: 28.05 kB / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.1689, allocations: 0 / 447.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.169, allocations: 15.89 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1691, allocations: 4 kB / 447.5 MB, free: 15.62 MB / 334.1 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001709/0.1693, allocations: 133.7 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.1693, allocations: 15.81 kB / 447.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.931e-05/0.1694, allocations: 24.98 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1694, allocations: 0 / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1694, allocations: 4 kB / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.1695, allocations: 192 / 447.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1698, allocations: 229.4 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1698, allocations: 4 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.189e-05/0.1698, allocations: 4 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1698, allocations: 0 / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1699, allocations: 4 kB / 447.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1699, allocations: 0 / 447.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1699, allocations: 3.938 kB / 447.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.1703, allocations: 177.6 kB / 448.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.1704, allocations: 92.92 kB / 448.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.1705, allocations: 0 / 448.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.1706, allocations: 7.984 kB / 448.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1706, allocations: 8 kB / 448.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.1707, allocations: 11.92 kB / 448.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.1709, allocations: 161.5 kB / 448.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.171, allocations: 4 kB / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.1714, allocations: 43.92 kB / 448.4 MB, free: 14.61 MB / 334.1 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001787/0.1732, allocations: 445.7 kB / 448.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.1736, allocations: 87.95 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1736, allocations: 4.062 kB / 448.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1738, allocations: 39.92 kB / 449 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005614/0.1744, allocations: 59.06 kB / 449 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.1751, allocations: 260.2 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.1757, allocations: 0.7163 MB / 450 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002447/0.1759, allocations: 37.95 kB / 450 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.793e-05/0.176, allocations: 27.42 kB / 450.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.176, allocations: 3.938 kB / 450.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Templates: time 0.009407/0.1854, allocations: 2.623 MB / 452.7 MB, free: 10.37 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches