Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 95.5 kB / 17 MB, free: 6.418 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.00134/0.00134, allocations: 189.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 241.9 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2254/0.2254, allocations: 44.25 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003333, allocations: 12 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 61.94 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00241/0.1472, allocations: 1.39 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1487, allocations: 0.7998 MB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.1488, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1491, allocations: 59.8 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.1493, allocations: 51.81 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.1496, allocations: 91.45 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1498, allocations: 83.7 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1499, allocations: 12.22 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.15, allocations: 43.73 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.1501, allocations: 35.83 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1501, allocations: 0 / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.58e-05/0.1502, allocations: 32 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.1503, allocations: 27.84 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.1504, allocations: 41.64 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.1505, allocations: 100.1 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1506, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1506, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1506, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 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.0006158/0.1512, allocations: 422.7 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1512, allocations: 12.03 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.1513, allocations: 7.906 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1515, allocations: 210.7 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1516, allocations: 8 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1516, allocations: 0 / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1518, allocations: 61.56 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1518, allocations: 4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1518, allocations: 0 / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1518, allocations: 4 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.1519, allocations: 19.98 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.1523, allocations: 292.9 kB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1525, allocations: 58.62 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.1526, allocations: 24.84 kB / 475.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.257e-05/0.1526, allocations: 7.984 kB / 475.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.1528, allocations: 63.39 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1528, allocations: 0 / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005516/0.1534, allocations: 185.3 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1534, allocations: 51.41 kB / 475.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.1537, allocations: 262.3 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1537, allocations: 29.7 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.1538, allocations: 112.1 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1539, allocations: 23.7 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.1539, allocations: 4 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.154, allocations: 334.7 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.319e-05/0.1541, allocations: 19.98 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-05/0.1542, allocations: 41.64 kB / 476.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.969e-05/0.1542, allocations: 24 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1542, allocations: 0 / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001792/0.1544, allocations: 105.5 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1544, allocations: 8 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1544, allocations: 3.938 kB / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1545, allocations: 0 / 476.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.1546, allocations: 16.06 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1546, allocations: 4.156 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.1546, allocations: 8.016 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1546, allocations: 7.984 kB / 476.7 MB, free: 8.297 MB / 350.1 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.1548, allocations: 145.1 kB / 476.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1548, allocations: 19.75 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.1549, allocations: 17.41 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1549, allocations: 7.984 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1549, allocations: 0 / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1549, allocations: 3.984 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.1554, allocations: 399.3 kB / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1554, allocations: 0 / 477.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.1554, allocations: 15.92 kB / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1554, allocations: 0 / 477.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1554, allocations: 8 kB / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1555, allocations: 0 / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1555, allocations: 0 / 477.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.1557, allocations: 208.2 kB / 477.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.1558, allocations: 96.91 kB / 477.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.1558, allocations: 4 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1559, allocations: 0 / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1559, allocations: 7.984 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.156, allocations: 8 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.1562, allocations: 192.5 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1562, allocations: 3.938 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1564, allocations: 31.98 kB / 477.9 MB, free: 7.051 MB / 350.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: 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/0.1576, allocations: 468.1 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.1578, allocations: 51.98 kB / 478.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1578, allocations: 3.938 kB / 478.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.035e-05/0.1579, allocations: 27.98 kB / 478.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.1582, allocations: 31.92 kB / 478.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.1588, allocations: 295.1 kB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.1591, allocations: 0.7199 MB / 479.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.1591, allocations: 21.19 kB / 479.5 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.1592, allocations: 19.42 kB / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1592, allocations: 0 / 479.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of Templates: time 0.004549/0.1637, allocations: 1.622 MB / 481.1 MB, free: 3.941 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches