Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.CombiTable1D.Test31,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.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,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.CombiTable1D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, 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.001472/0.001472, 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.659/1.659, allocations: 205.1 MB / 223.2 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.2634/0.2634, allocations: 43.54 MB / 314.1 MB, free: 468 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.002301/0.002301, allocations: 67.89 kB / 441.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1483, allocations: 57.8 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002991/0.1513, allocations: 1.542 MB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006419/0.152, allocations: 327.5 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.216e-05/0.152, allocations: 0 / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.1524, allocations: 127.7 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1526, allocations: 91.67 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1529, allocations: 87.83 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1531, allocations: 83.8 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1532, allocations: 19.97 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.1533, allocations: 51.75 kB / 0.4902 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1534, allocations: 71.86 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1534, allocations: 4 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.324e-05/0.1535, allocations: 35.98 kB / 0.4903 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.938e-05/0.1536, allocations: 27.86 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.171e-05/0.1537, allocations: 27.75 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.1539, allocations: 99.52 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1539, allocations: 4 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1539, allocations: 4 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1539, allocations: 0 / 0.4904 GB, free: 9.223 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.0005482/0.1544, allocations: 426.6 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1545, allocations: 15.89 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1545, allocations: 12.84 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1548, allocations: 211.9 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1548, allocations: 4.375 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1548, allocations: 384 / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.155, allocations: 57.81 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.155, allocations: 0 / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.155, allocations: 0 / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.155, allocations: 0 / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.1551, allocations: 31.91 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.1555, allocations: 288.9 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.1558, allocations: 50.56 kB / 0.4915 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.027e-05/0.1559, allocations: 12.94 kB / 0.4915 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1559, allocations: 4 kB / 0.4915 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1559, allocations: 34.5 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.547e-06/0.156, allocations: 3.984 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006268/0.1566, allocations: 169.3 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1566, allocations: 51.41 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.1569, allocations: 274.2 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1569, allocations: 25.7 kB / 0.492 GB, free: 7.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.157, allocations: 108.1 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.157, allocations: 11.91 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.1571, allocations: 17.72 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1572, allocations: 330.8 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.898e-05/0.1573, allocations: 23.98 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.029e-05/0.1573, allocations: 19.98 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1575, allocations: 52.83 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1575, allocations: 0 / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000186/0.1577, allocations: 97.75 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1577, allocations: 11.94 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1577, allocations: 0 / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1577, allocations: 4 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.1578, allocations: 12 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1578, allocations: 3.984 kB / 0.4927 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.1578, allocations: 4 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1579, allocations: 0 / 0.4927 GB, free: 6.672 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.0001054/0.158, allocations: 145.6 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.158, allocations: 11.91 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.1583, allocations: 114.6 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1583, allocations: 0 / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1583, allocations: 0 / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1583, allocations: 4 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.1587, allocations: 370.5 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1587, allocations: 0 / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.1588, allocations: 12 kB / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1588, allocations: 0 / 0.4933 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1588, allocations: 4 kB / 0.4933 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1588, allocations: 7.875 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1588, allocations: 3.984 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1591, allocations: 183.4 kB / 0.4935 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.1591, allocations: 93 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.1591, allocations: 4.188 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.1592, allocations: 11.94 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1593, allocations: 4 kB / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1593, allocations: 7.984 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1595, allocations: 195.2 kB / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1595, allocations: 0 / 0.4938 GB, free: 5.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1597, allocations: 19.94 kB / 0.4938 GB, free: 5.395 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.0009266/0.1606, allocations: 408.8 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1608, allocations: 51.91 kB / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1609, allocations: 0 / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.529e-05/0.1609, allocations: 31.97 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1614, allocations: 19.12 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.1619, allocations: 274.6 kB / 0.4946 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.1623, allocations: 0.7196 MB / 0.4953 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.1624, allocations: 12 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.1624, allocations: 15.42 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1624, allocations: 0 / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of Templates: time 0.004095/0.1665, allocations: 1.159 MB / 0.4964 GB, free: 2.699 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches