Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 114.4 kB / 17.04 MB, free: 6.133 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.001068/0.001069, allocations: 192.6 kB / 17.97 MB, free: 5.23 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.791/1.791, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2446/0.2446, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.002608/0.002608, allocations: 82.02 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1575, allocations: 57.78 MB / 0.4885 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003291/0.1609, allocations: 1.697 MB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1622, allocations: 0.8038 MB / 0.491 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.1623, allocations: 4 kB / 0.491 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1627, allocations: 39.77 kB / 0.491 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1629, allocations: 51.77 kB / 0.4911 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1632, allocations: 95.7 kB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1634, allocations: 91.75 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1635, allocations: 20.14 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.1636, allocations: 39.8 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.1637, allocations: 27.84 kB / 0.4913 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1637, allocations: 4 kB / 0.4913 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1638, allocations: 43.98 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.1639, allocations: 19.92 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.1639, allocations: 43.72 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1641, allocations: 103.7 kB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1641, allocations: 4 kB / 0.4916 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1641, allocations: 0 / 0.4916 GB, free: 8.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1642, allocations: 3.938 kB / 0.4916 GB, free: 8.652 MB / 382.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.0006279/0.1648, allocations: 410.9 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1648, allocations: 11.89 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.1649, allocations: 12.83 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.1652, allocations: 212 kB / 0.4922 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1652, allocations: 8.312 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.1652, allocations: 4.125 kB / 0.4922 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1654, allocations: 53.67 kB / 0.4922 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1654, allocations: 3.984 kB / 0.4922 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1655, allocations: 0 / 0.4922 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1655, allocations: 7.938 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1656, allocations: 19.97 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.1659, allocations: 288.9 kB / 0.4925 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1661, allocations: 50.69 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.029e-05/0.1662, allocations: 28.78 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1662, allocations: 0 / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.1664, allocations: 67.3 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1664, allocations: 4 kB / 0.4927 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005505/0.167, allocations: 173.2 kB / 0.4929 GB, free: 7.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.167, allocations: 59.41 kB / 0.4929 GB, free: 7.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1672, allocations: 182.1 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1672, allocations: 29.7 kB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.1673, allocations: 100.1 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1674, allocations: 31.58 kB / 0.4932 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1675, allocations: 21.72 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1677, allocations: 326.8 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.1677, allocations: 23.98 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.1678, allocations: 34.08 kB / 0.4936 GB, free: 6.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1679, allocations: 65.64 kB / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1679, allocations: 0 / 0.4937 GB, free: 6.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001746/0.1681, allocations: 105.5 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1681, allocations: 8 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1681, allocations: 0 / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1682, allocations: 0 / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.1683, allocations: 15.98 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1683, allocations: 0 / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.1683, allocations: 11.94 kB / 0.4938 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1683, allocations: 4 kB / 0.4938 GB, free: 6.09 MB / 382.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 ($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 0.0001014/0.1685, allocations: 129.6 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.1685, allocations: 15.84 kB / 0.494 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.923e-05/0.1686, allocations: 16.72 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1686, allocations: 3.938 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1686, allocations: 3.938 kB / 0.494 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1686, allocations: 7.922 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.169, allocations: 379.4 kB / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.169, allocations: 4 kB / 0.4944 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.1691, allocations: 11.94 kB / 0.4944 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1691, allocations: 4.031 kB / 0.4944 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1691, allocations: 7.938 kB / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1691, allocations: 0 / 0.4944 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1691, allocations: 4 kB / 0.4944 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1693, allocations: 204.5 kB / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1694, allocations: 81.02 kB / 0.4947 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.1694, allocations: 11.94 kB / 0.4947 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.1695, allocations: 4 kB / 0.4947 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.1695, allocations: 11.92 kB / 0.4947 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1695, allocations: 4 kB / 0.4947 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1697, allocations: 144.1 kB / 0.4948 GB, free: 4.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1697, allocations: 0 / 0.4948 GB, free: 4.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1699, allocations: 24.17 kB / 0.4949 GB, free: 4.934 MB / 382.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 (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.001143/0.1711, allocations: 466.6 kB / 0.4953 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1713, allocations: 63.91 kB / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1713, allocations: 0 / 0.4954 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.1714, allocations: 20 kB / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1717, allocations: 51.38 kB / 0.4954 GB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.1722, allocations: 244.8 kB / 0.4957 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.1727, allocations: 0.7002 MB / 0.4963 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.1727, allocations: 19.44 kB / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1727, allocations: 4 kB / 0.4964 GB, free: 3.363 MB / 382.1 MB Notification: Performance of Templates: time 0.003961/0.1767, allocations: 1.886 MB / 0.4982 GB, free: 1.48 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches