Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 104 kB / 17.63 MB, free: 5.523 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.001072/0.001072, allocations: 192.1 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1959/0.1959, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 61.5 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1611, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.00426/0.1654, allocations: 1.576 MB / 470.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.1663, allocations: 407.3 kB / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.1664, allocations: 0 / 471.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.1668, allocations: 75.77 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1672, allocations: 71.73 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1676, allocations: 86.45 kB / 471.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.1678, allocations: 79.88 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.168, allocations: 16.17 kB / 471.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.168, allocations: 39.77 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.1682, allocations: 43.91 kB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1682, allocations: 4 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1684, allocations: 47.97 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1684, allocations: 23.92 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.747e-05/0.1685, allocations: 31.73 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.1687, allocations: 99.98 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1687, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1687, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1687, allocations: 0 / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005526/0.1693, allocations: 410.9 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1693, allocations: 8.031 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.1694, allocations: 8.844 kB / 472.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.1696, allocations: 204.1 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1697, allocations: 4.375 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1697, allocations: 4.375 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.1699, allocations: 53.61 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1699, allocations: 3.906 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1699, allocations: 4 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1699, allocations: 0 / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.17, allocations: 27.92 kB / 472.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.1705, allocations: 288.8 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1706, allocations: 46.56 kB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1707, allocations: 12.94 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.1707, allocations: 4 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1708, allocations: 38.5 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1708, allocations: 0 / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001044/0.1718, allocations: 221.1 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.1719, allocations: 55.41 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1721, allocations: 218.1 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.1722, allocations: 25.7 kB / 473.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.1722, allocations: 104 kB / 473.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.1723, allocations: 23.66 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.1723, allocations: 21.7 kB / 473.6 MB, free: 9.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1725, allocations: 326.8 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.1725, allocations: 23.98 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.1726, allocations: 23.98 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1728, allocations: 60.83 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1728, allocations: 0 / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002229/0.173, allocations: 109.4 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.173, allocations: 4 kB / 474.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.173, allocations: 3.938 kB / 474.1 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1731, allocations: 3.984 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1732, allocations: 16 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1732, allocations: 7.938 kB / 474.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.1732, allocations: 7.984 kB / 474.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1733, allocations: 4 kB / 474.2 MB, free: 9.238 MB / 350.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 (8): * Single equations (assignments): 8 * 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.878e-05/0.1734, allocations: 125.8 kB / 474.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.1734, allocations: 7.906 kB / 474.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1737, allocations: 114.3 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1737, allocations: 4.422 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.1737, allocations: 7.938 kB / 474.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1737, allocations: 7.922 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.1742, allocations: 399.6 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1742, allocations: 0 / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.977e-05/0.1743, allocations: 27.91 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1743, allocations: 4.031 kB / 474.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1743, allocations: 0 / 474.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1744, allocations: 4 kB / 474.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1744, allocations: 4.016 kB / 474.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.1746, allocations: 204.3 kB / 475 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.1747, allocations: 84.95 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.1747, allocations: 11.98 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.1748, allocations: 0 / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.1748, allocations: 7.984 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1749, allocations: 8 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.175, allocations: 151.2 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.175, allocations: 0 / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1753, allocations: 16 kB / 475.3 MB, free: 7.961 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001093/0.1764, allocations: 471.9 kB / 475.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1766, allocations: 59.97 kB / 475.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1766, allocations: 0 / 475.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.1767, allocations: 39.91 kB / 475.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1771, allocations: 27.92 kB / 475.9 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.1776, allocations: 239.2 kB / 476.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1779, allocations: 0.708 MB / 476.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.178, allocations: 8.969 kB / 476.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.178, allocations: 15.44 kB / 476.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1781, allocations: 3.938 kB / 476.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of Templates: time 0.004333/0.1824, allocations: 1.336 MB / 478.2 MB, free: 5.199 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches