Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 115.7 kB / 17.05 MB, free: 6.035 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.001094/0.001094, allocations: 192.5 kB / 17.98 MB, free: 5.121 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.635/1.635, allocations: 205.1 MB / 223.9 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.2497/0.2497, 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.00142/0.00142, allocations: 81.47 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1615, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003274/0.1648, allocations: 1.654 MB / 0.4902 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1662, allocations: 0.7883 MB / 0.4909 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.022e-05/0.1663, allocations: 3.938 kB / 0.4909 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1667, allocations: 43.81 kB / 0.491 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.1669, allocations: 63.69 kB / 0.491 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1672, allocations: 91.75 kB / 0.4911 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.1674, allocations: 91.77 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.1674, allocations: 11.97 kB / 0.4912 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.428e-05/0.1675, allocations: 47.77 kB / 0.4913 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1676, allocations: 31.86 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1677, allocations: 4 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.1678, allocations: 31.92 kB / 0.4913 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.1678, allocations: 27.84 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.1679, allocations: 23.81 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1681, allocations: 99.64 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1681, allocations: 4 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1681, allocations: 0 / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1681, allocations: 0 / 0.4915 GB, free: 8.723 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005793/0.1687, allocations: 402.5 kB / 0.4919 GB, free: 8.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1688, allocations: 11.89 kB / 0.4919 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.1688, allocations: 8.844 kB / 0.4919 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.1692, allocations: 208 kB / 0.4921 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1692, allocations: 4.359 kB / 0.4921 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1692, allocations: 16.06 kB / 0.4921 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1694, allocations: 41.69 kB / 0.4922 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1694, allocations: 0 / 0.4922 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1694, allocations: 0 / 0.4922 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1694, allocations: 7.922 kB / 0.4922 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.165e-05/0.1695, allocations: 12 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002171/0.1697, allocations: 181.6 kB / 0.4923 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.1699, allocations: 58.55 kB / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.17, allocations: 20.8 kB / 0.4924 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.17, allocations: 4 kB / 0.4924 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.1702, allocations: 63.39 kB / 0.4925 GB, free: 7.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1702, allocations: 0 / 0.4925 GB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002834/0.1705, allocations: 97.56 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.1705, allocations: 63.34 kB / 0.4926 GB, free: 7.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1707, allocations: 166.2 kB / 0.4928 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.1707, allocations: 25.7 kB / 0.4928 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.1708, allocations: 100.1 kB / 0.4929 GB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1708, allocations: 15.89 kB / 0.4929 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1709, allocations: 17.72 kB / 0.4929 GB, free: 7.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.171, allocations: 322.8 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.1711, allocations: 15.98 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/0.1711, allocations: 25.72 kB / 0.4933 GB, free: 6.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.794e-05/0.1712, allocations: 45.7 kB / 0.4933 GB, free: 6.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1713, allocations: 0 / 0.4933 GB, free: 6.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001517/0.1714, allocations: 89.36 kB / 0.4934 GB, free: 6.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1714, allocations: 4 kB / 0.4934 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.1714, allocations: 4 kB / 0.4934 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1715, allocations: 4.031 kB / 0.4934 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.1716, allocations: 8 kB / 0.4934 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1716, allocations: 3.938 kB / 0.4934 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.1716, allocations: 11.94 kB / 0.4935 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1716, allocations: 0 / 0.4935 GB, free: 6.473 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 (7): * Single equations (assignments): 7 * 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 9.481e-05/0.1717, allocations: 129.7 kB / 0.4936 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.1718, allocations: 7.906 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.1718, allocations: 20.28 kB / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1718, allocations: 4 kB / 0.4936 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1718, allocations: 4 kB / 0.4936 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1718, allocations: 0 / 0.4936 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.172, allocations: 181.5 kB / 0.4938 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.172, allocations: 0 / 0.4938 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.172, allocations: 7.938 kB / 0.4938 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.172, allocations: 0 / 0.4938 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1721, allocations: 8 kB / 0.4938 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1721, allocations: 320 / 0.4938 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1721, allocations: 0 / 0.4938 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.1723, allocations: 124.8 kB / 0.4939 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.1723, allocations: 81.02 kB / 0.494 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1723, allocations: 11.98 kB / 0.494 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.278e-05/0.1724, allocations: 0 / 0.494 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1724, allocations: 4 kB / 0.494 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1724, allocations: 0 / 0.494 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1726, allocations: 132 kB / 0.4941 GB, free: 5.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1726, allocations: 0 / 0.4941 GB, free: 5.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002103/0.1728, allocations: 20 kB / 0.4942 GB, free: 5.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009511/0.1737, allocations: 412.9 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.1739, allocations: 43.92 kB / 0.4946 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1739, allocations: 0 / 0.4946 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.174, allocations: 19.98 kB / 0.4946 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.1743, allocations: 32.47 kB / 0.4946 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1747, allocations: 223.6 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.175, allocations: 0.6963 MB / 0.4955 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.1751, allocations: 11.44 kB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1751, allocations: 0 / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of Templates: time 0.003578/0.1787, allocations: 1.656 MB / 0.4972 GB, free: 2.551 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches