Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 116.8 kB / 17.08 MB, free: 5.969 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.0009875/0.0009875, allocations: 198.5 kB / 18.02 MB, free: 5.047 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.282/1.282, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2133/0.2133, allocations: 43.52 MB / 314.8 MB, free: 452 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.001515/0.001515, allocations: 73.47 kB / 442.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.152, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004241/0.1563, allocations: 1.701 MB / 0.4903 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1581, allocations: 0.7923 MB / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1583, allocations: 11.88 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.1587, allocations: 39.83 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.1591, allocations: 59.69 kB / 0.4911 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.1595, allocations: 87.75 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.1597, allocations: 95.7 kB / 0.4913 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1599, allocations: 12.22 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.16, allocations: 47.77 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1601, allocations: 27.86 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.1601, allocations: 4 kB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.1603, allocations: 43.97 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.1604, allocations: 27.86 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.1605, allocations: 31.75 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.1608, allocations: 107.7 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.1608, allocations: 8 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1608, allocations: 0 / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1608, allocations: 0 / 0.4916 GB, free: 8.602 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.0007545/0.1616, allocations: 410.9 kB / 0.492 GB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1617, allocations: 11.89 kB / 0.492 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.703e-05/0.1617, allocations: 8.844 kB / 0.492 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.1622, allocations: 223.9 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1622, allocations: 384 / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.1622, allocations: 12.12 kB / 0.4923 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1624, allocations: 53.67 kB / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1624, allocations: 0 / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1625, allocations: 0 / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1625, allocations: 0 / 0.4923 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.453e-05/0.1626, allocations: 19.98 kB / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.163, allocations: 280.9 kB / 0.4926 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1633, allocations: 66.61 kB / 0.4927 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.1633, allocations: 16.86 kB / 0.4927 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1634, allocations: 4 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1635, allocations: 75.28 kB / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.814e-06/0.1636, allocations: 0 / 0.4928 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006826/0.1642, allocations: 169.2 kB / 0.4929 GB, free: 7.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.1643, allocations: 55.41 kB / 0.493 GB, free: 7.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1645, allocations: 186.1 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.1646, allocations: 29.7 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.1647, allocations: 100.1 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.1647, allocations: 31.58 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.1648, allocations: 25.7 kB / 0.4933 GB, free: 6.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1649, allocations: 326.8 kB / 0.4936 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.165, allocations: 27.98 kB / 0.4937 GB, free: 6.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.1651, allocations: 33.66 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1652, allocations: 61.77 kB / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1652, allocations: 0 / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000198/0.1654, allocations: 101.5 kB / 0.4938 GB, free: 6.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.1655, allocations: 4 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1655, allocations: 4.031 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.1655, allocations: 7.984 kB / 0.4939 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1656, allocations: 12 kB / 0.4939 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1656, allocations: 3.938 kB / 0.4939 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.1657, allocations: 15.92 kB / 0.4939 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1657, allocations: 0 / 0.4939 GB, free: 6.035 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.0001315/0.1659, allocations: 125.8 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.1659, allocations: 11.81 kB / 0.494 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.166, allocations: 24.64 kB / 0.494 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.166, allocations: 4 kB / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.166, allocations: 0 / 0.4941 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.166, allocations: 3.938 kB / 0.4941 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.1664, allocations: 387.3 kB / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1664, allocations: 0 / 0.4944 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.1665, allocations: 11.98 kB / 0.4944 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.1665, allocations: 4 kB / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1665, allocations: 7.938 kB / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1665, allocations: 4.031 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1665, allocations: 384 / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1668, allocations: 196.2 kB / 0.4946 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.1668, allocations: 85.02 kB / 0.4947 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.1669, allocations: 15.94 kB / 0.4947 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.167, allocations: 3.984 kB / 0.4947 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.167, allocations: 8 kB / 0.4947 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.167, allocations: 4 kB / 0.4947 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.1672, allocations: 148 kB / 0.4949 GB, free: 4.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 0 / 0.4949 GB, free: 4.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1674, allocations: 20 kB / 0.4949 GB, free: 4.883 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.001167/0.1686, allocations: 471 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1689, allocations: 67.89 kB / 0.4954 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1689, allocations: 0 / 0.4954 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.169, allocations: 27.92 kB / 0.4955 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1693, allocations: 39.67 kB / 0.4955 GB, free: 4.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005433/0.1699, allocations: 241 kB / 0.4957 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.1703, allocations: 0.7041 MB / 0.4964 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.1704, allocations: 19.42 kB / 0.4964 GB, free: 3.309 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1704, allocations: 0 / 0.4964 GB, free: 3.309 MB / 382.1 MB Notification: Performance of Templates: time 0.004797/0.1752, allocations: 1.906 MB / 0.4983 GB, free: 1.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches