Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 112 kB / 17.08 MB, free: 5.828 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.003298/0.003298, allocations: 197.2 kB / 18.02 MB, free: 4.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.99/2.99, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.3042/0.3042, allocations: 43.52 MB / 314.8 MB, free: 456 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.001779/0.001779, allocations: 69.47 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1577, allocations: 57.78 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.004563/0.1623, allocations: 1.555 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1642, allocations: 0.93 MB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.1644, allocations: 4 kB / 0.491 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.1647, allocations: 23.86 kB / 0.491 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.1651, allocations: 39.78 kB / 0.491 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.1654, allocations: 75.83 kB / 0.4911 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1656, allocations: 59.84 kB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1657, allocations: 19.91 kB / 0.4912 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.1658, allocations: 15.94 kB / 0.4912 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.166, allocations: 31.89 kB / 0.4912 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.166, allocations: 7.938 kB / 0.4912 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1662, allocations: 43.98 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.987e-05/0.1662, allocations: 11.98 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.1663, allocations: 23.8 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1666, allocations: 91.78 kB / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1666, allocations: 0 / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1667, allocations: 0 / 0.4914 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1667, allocations: 0 / 0.4914 GB, free: 8.832 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008489/0.1675, allocations: 379.2 kB / 0.4918 GB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.1676, allocations: 11.89 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.1677, allocations: 4.938 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.168, allocations: 192.2 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.168, allocations: 384 / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.168, allocations: 8.375 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1682, allocations: 71.45 kB / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1683, allocations: 0 / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1683, allocations: 0 / 0.492 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.1683, allocations: 3.984 kB / 0.492 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1684, allocations: 19.98 kB / 0.4921 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.1689, allocations: 272.9 kB / 0.4923 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.1693, allocations: 50.5 kB / 0.4924 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.1694, allocations: 12.94 kB / 0.4924 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1694, allocations: 0 / 0.4924 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.1695, allocations: 38.56 kB / 0.4924 GB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1695, allocations: 0 / 0.4924 GB, free: 7.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006803/0.1701, allocations: 141.3 kB / 0.4926 GB, free: 7.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.1702, allocations: 77.11 kB / 0.4926 GB, free: 7.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.1704, allocations: 133.8 kB / 0.4928 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1705, allocations: 29.64 kB / 0.4928 GB, free: 7.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.1706, allocations: 92.05 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.1706, allocations: 15.8 kB / 0.4929 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.1707, allocations: 25.72 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1709, allocations: 314.8 kB / 0.4932 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.1709, allocations: 23.92 kB / 0.4932 GB, free: 6.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.879e-05/0.171, allocations: 41.69 kB / 0.4933 GB, free: 6.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.1712, allocations: 40.84 kB / 0.4933 GB, free: 6.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1712, allocations: 4.031 kB / 0.4933 GB, free: 6.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002105/0.1714, allocations: 81.56 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1715, allocations: 4 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1715, allocations: 4 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1715, allocations: 0 / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.1716, allocations: 8 kB / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.1716, allocations: 0 / 0.4934 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.1716, allocations: 7.984 kB / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.1717, allocations: 0 / 0.4934 GB, free: 6.523 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001203/0.1718, allocations: 133.6 kB / 0.4935 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.1718, allocations: 4 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.1721, allocations: 93.53 kB / 0.4936 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1721, allocations: 0 / 0.4936 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1721, allocations: 0 / 0.4936 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1722, allocations: 3.984 kB / 0.4936 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.1726, allocations: 350.8 kB / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1726, allocations: 0 / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.1727, allocations: 15.98 kB / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.1727, allocations: 0 / 0.494 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1727, allocations: 4 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1727, allocations: 3.938 kB / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1728, allocations: 0 / 0.494 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.173, allocations: 175.5 kB / 0.4942 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.1731, allocations: 89 kB / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1731, allocations: 0 / 0.4943 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.1732, allocations: 7.938 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.1732, allocations: 7.984 kB / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.1733, allocations: 0 / 0.4943 GB, free: 5.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.977e-05/0.1734, allocations: 103.3 kB / 0.4944 GB, free: 5.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1734, allocations: 0 / 0.4944 GB, free: 5.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1737, allocations: 20 kB / 0.4944 GB, free: 5.422 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001203/0.1749, allocations: 452.6 kB / 0.4948 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.1751, allocations: 47.95 kB / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1752, allocations: 0 / 0.4949 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.1753, allocations: 31.92 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1757, allocations: 15.86 kB / 0.4949 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.1763, allocations: 183.1 kB / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1767, allocations: 0.6885 MB / 0.4958 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.1768, allocations: 15.42 kB / 0.4958 GB, free: 3.984 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1768, allocations: 0 / 0.4958 GB, free: 3.984 MB / 382.1 MB Notification: Performance of Templates: time 0.004281/0.1811, allocations: 1.559 MB / 0.4973 GB, free: 2.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches