Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 108 kB / 16.41 MB, free: 6.484 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.001231/0.001231, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.214/0.214, allocations: 43.53 MB / 314.1 MB, free: 464 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.001359/0.001359, allocations: 73.45 kB / 441.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1593, allocations: 57.79 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003908/0.1633, allocations: 1.692 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1649, allocations: 0.8039 MB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.165, allocations: 0 / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006046/0.1657, allocations: 87.69 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.166, allocations: 71.66 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1663, allocations: 95.7 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1666, allocations: 99.73 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1667, allocations: 24.16 kB / 0.4908 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1669, allocations: 55.75 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.167, allocations: 51.83 kB / 0.4909 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.167, allocations: 7.984 kB / 0.4909 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1671, allocations: 39.98 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.087e-05/0.1672, allocations: 23.92 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.1673, allocations: 35.75 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.1676, allocations: 119.4 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1676, allocations: 7.938 kB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1676, allocations: 0 / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1676, allocations: 4 kB / 0.4911 GB, free: 8.52 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.0006395/0.1683, allocations: 418.7 kB / 0.4915 GB, free: 8.062 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1683, allocations: 15.89 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.1684, allocations: 12.84 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.1688, allocations: 208.7 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.1688, allocations: 384 / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.1689, allocations: 16.12 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.1691, allocations: 49.67 kB / 0.4918 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1691, allocations: 7.875 kB / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1691, allocations: 4 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1691, allocations: 0 / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.137e-05/0.1692, allocations: 23.97 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.1697, allocations: 288.8 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1699, allocations: 62.67 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.345e-05/0.1699, allocations: 24.78 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.422e-05/0.17, allocations: 0 / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.1701, allocations: 67.39 kB / 0.4922 GB, free: 7.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1702, allocations: 0 / 0.4922 GB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005809/0.1707, allocations: 185.3 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1708, allocations: 51.41 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.171, allocations: 211.1 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.008e-05/0.1711, allocations: 33.7 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.1712, allocations: 100.1 kB / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.1712, allocations: 27.78 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.1712, allocations: 25.72 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003241/0.1716, allocations: 326.8 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.12e-05/0.1716, allocations: 27.98 kB / 0.4932 GB, free: 6.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.1717, allocations: 37.64 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.1718, allocations: 57.72 kB / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1718, allocations: 0 / 0.4933 GB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.172, allocations: 113.5 kB / 0.4934 GB, free: 5.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1721, allocations: 4 kB / 0.4934 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1721, allocations: 4.031 kB / 0.4934 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1721, allocations: 4 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.1722, allocations: 15.98 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1722, allocations: 0 / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.444e-05/0.1723, allocations: 7.938 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1723, allocations: 4 kB / 0.4934 GB, free: 5.898 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.0001028/0.1724, allocations: 129.8 kB / 0.4935 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.956e-05/0.1725, allocations: 11.95 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.1726, allocations: 21.34 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1726, allocations: 0 / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1726, allocations: 4 kB / 0.4936 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.1726, allocations: 7.922 kB / 0.4936 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.1731, allocations: 395.2 kB / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1731, allocations: 0 / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/0.1731, allocations: 8 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1731, allocations: 0 / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.1732, allocations: 7.938 kB / 0.494 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1732, allocations: 12.02 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1732, allocations: 0 / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1735, allocations: 196.3 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1735, allocations: 93.02 kB / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.1736, allocations: 3.938 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.1736, allocations: 4.375 kB / 0.4943 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.1737, allocations: 15.92 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1737, allocations: 0 / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1738, allocations: 163.2 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1739, allocations: 0 / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1741, allocations: 27.92 kB / 0.4945 GB, free: 4.707 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.001116/0.1752, allocations: 473.2 kB / 0.4949 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1755, allocations: 59.91 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1755, allocations: 0 / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.1755, allocations: 27.98 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1759, allocations: 31.83 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/0.1764, allocations: 254.7 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1768, allocations: 0.7041 MB / 0.496 GB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.82e-05/0.1769, allocations: 12.88 kB / 0.496 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.1769, allocations: 15.44 kB / 0.496 GB, free: 3.129 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1769, allocations: 4 kB / 0.496 GB, free: 3.125 MB / 382.1 MB Notification: Performance of Templates: time 0.005402/0.1823, allocations: 1.709 MB / 0.4977 GB, free: 1.426 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches