Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.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.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 105.5 kB / 16.4 MB, free: 6.457 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.001221/0.001221, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.732/1.732, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2423/0.2423, allocations: 43.52 MB / 314.1 MB, free: 444 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.002027/0.002027, allocations: 85.38 kB / 441.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1531, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.003939/0.1571, allocations: 1.546 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1588, allocations: 0.9495 MB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.159, allocations: 0 / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.1593, allocations: 27.84 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1596, allocations: 43.78 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.16, allocations: 95.75 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.1602, allocations: 63.77 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1603, allocations: 15.98 kB / 0.4906 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.1604, allocations: 23.92 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1606, allocations: 27.84 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.1606, allocations: 4 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1608, allocations: 47.97 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.1608, allocations: 8 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.1609, allocations: 23.86 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1611, allocations: 83.59 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1611, allocations: 4 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1611, allocations: 0 / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1612, allocations: 0 / 0.4908 GB, free: 8.789 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.0008264/0.162, allocations: 387 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.162, allocations: 11.89 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.1621, allocations: 8.891 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1623, allocations: 192.2 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1623, allocations: 384 / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1624, allocations: 4.375 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1626, allocations: 75.45 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1626, allocations: 0 / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1626, allocations: 4 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1626, allocations: 0 / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.324e-05/0.1627, allocations: 23.98 kB / 0.4915 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.1632, allocations: 276.9 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.1634, allocations: 50.48 kB / 0.4918 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.1635, allocations: 20.84 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1635, allocations: 4 kB / 0.4918 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1635, allocations: 30.66 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1635, allocations: 0 / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005906/0.1641, allocations: 141.5 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1642, allocations: 85.11 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.1644, allocations: 129.8 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1644, allocations: 25.7 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.1645, allocations: 92.12 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1645, allocations: 23.8 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.1646, allocations: 21.66 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1647, allocations: 322.8 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.473e-05/0.1648, allocations: 19.98 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.1649, allocations: 41.77 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.165, allocations: 52.77 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.165, allocations: 7.984 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002904/0.1653, allocations: 85.56 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1653, allocations: 4 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1654, allocations: 0 / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1654, allocations: 4.031 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.1654, allocations: 15.98 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1655, allocations: 0 / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.1655, allocations: 4 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1655, allocations: 0 / 0.4928 GB, free: 6.426 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.0001085/0.1656, allocations: 125.7 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.1657, allocations: 7.953 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.1659, allocations: 97.56 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1659, allocations: 4 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.166, allocations: 0 / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.166, allocations: 0 / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.1666, allocations: 358.7 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1666, allocations: 64 / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.1666, allocations: 12 kB / 0.4934 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1666, allocations: 0 / 0.4934 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1667, allocations: 4 kB / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1667, allocations: 7.938 kB / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1667, allocations: 0 / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1669, allocations: 179.5 kB / 0.4936 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.167, allocations: 81.11 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.167, allocations: 3.984 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.1671, allocations: 11.94 kB / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.1671, allocations: 3.938 kB / 0.4937 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1672, allocations: 4 kB / 0.4937 GB, free: 5.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.1674, allocations: 103.2 kB / 0.4938 GB, free: 5.332 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 4 kB / 0.4938 GB, free: 5.328 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1676, allocations: 23.88 kB / 0.4938 GB, free: 5.305 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.001104/0.1688, allocations: 451.5 kB / 0.4943 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.169, allocations: 55.95 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.169, allocations: 0 / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.1691, allocations: 27.92 kB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.1694, allocations: 23.78 kB / 0.4944 GB, free: 4.801 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.17, allocations: 169.2 kB / 0.4945 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1704, allocations: 0.6885 MB / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.026e-05/0.1705, allocations: 15.97 kB / 0.4952 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.1705, allocations: 23.42 kB / 0.4952 GB, free: 3.855 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1705, allocations: 0 / 0.4952 GB, free: 3.855 MB / 382.1 MB Notification: Performance of Templates: time 0.00452/0.175, allocations: 1.362 MB / 0.4966 GB, free: 2.496 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches