Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 109.8 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 187.9 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2606/0.2606, allocations: 44.24 MB / 330.2 MB, free: 9.625 MB / 270.1 MB " [Timeout remaining time 179] 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") [Timeout 660] "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.002219/0.002219, allocations: 75.89 kB / 468 MB, free: 4.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1629, allocations: 61.03 MB / 0.5166 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.003518/0.1664, allocations: 1.572 MB / 0.5181 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1682, allocations: 1.056 MB / 0.5192 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.1683, allocations: 0 / 0.5192 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1686, allocations: 23.84 kB / 0.5192 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1688, allocations: 43.83 kB / 0.5192 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1691, allocations: 87.77 kB / 0.5193 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.1693, allocations: 59.83 kB / 0.5194 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1694, allocations: 15.97 kB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.1695, allocations: 27.86 kB / 0.5194 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1696, allocations: 19.92 kB / 0.5194 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1697, allocations: 4 kB / 0.5194 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1698, allocations: 51.97 kB / 0.5195 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.1698, allocations: 15.92 kB / 0.5195 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.1699, allocations: 15.88 kB / 0.5195 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1701, allocations: 95.58 kB / 0.5196 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.1701, allocations: 0 / 0.5196 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1701, allocations: 0 / 0.5196 GB, free: 3.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1701, allocations: 0 / 0.5196 GB, free: 3.766 MB / 398.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.0005746/0.1707, allocations: 305.9 kB / 0.5199 GB, free: 3.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1707, allocations: 12.03 kB / 0.5199 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.1708, allocations: 8.891 kB / 0.5199 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.171, allocations: 130.4 kB / 0.52 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.171, allocations: 4.375 kB / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.171, allocations: 384 / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.1712, allocations: 75.45 kB / 0.5201 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1712, allocations: 0 / 0.5201 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1712, allocations: 4 kB / 0.5201 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1713, allocations: 0 / 0.5201 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.1714, allocations: 19.98 kB / 0.5201 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.1718, allocations: 255.9 kB / 0.5204 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1721, allocations: 46.48 kB / 0.5204 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.413e-05/0.1721, allocations: 20.86 kB / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.1721, allocations: 0 / 0.5204 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1722, allocations: 34.64 kB / 0.5205 GB, free: 2.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.1722, allocations: 0 / 0.5205 GB, free: 2.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000608/0.1728, allocations: 145.4 kB / 0.5206 GB, free: 2.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.1728, allocations: 81.11 kB / 0.5207 GB, free: 2.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.173, allocations: 133.8 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.173, allocations: 25.7 kB / 0.5208 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.748e-05/0.1731, allocations: 92.12 kB / 0.5209 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1731, allocations: 19.8 kB / 0.521 GB, free: 2.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.1732, allocations: 21.66 kB / 0.521 GB, free: 2.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1733, allocations: 322.8 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.811e-05/0.1734, allocations: 19.98 kB / 0.5213 GB, free: 1.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.1735, allocations: 37.7 kB / 0.5213 GB, free: 1.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.1736, allocations: 60.75 kB / 0.5214 GB, free: 1.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1736, allocations: 0 / 0.5214 GB, free: 1.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002021/0.1738, allocations: 77.88 kB / 0.5215 GB, free: 1.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1739, allocations: 8 kB / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1739, allocations: 0 / 0.5215 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1739, allocations: 4.031 kB / 0.5215 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.174, allocations: 19.98 kB / 0.5215 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.174, allocations: 4 kB / 0.5215 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.174, allocations: 0 / 0.5215 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.174, allocations: 4 kB / 0.5215 GB, free: 1.609 MB / 398.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.0001147/0.1741, allocations: 121.8 kB / 0.5216 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.1742, allocations: 11.89 kB / 0.5216 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.1744, allocations: 93.72 kB / 0.5217 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1744, allocations: 288 / 0.5217 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1744, allocations: 0 / 0.5217 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1744, allocations: 3.984 kB / 0.5217 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.1749, allocations: 321.5 kB / 0.522 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1749, allocations: 3.984 kB / 0.522 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.977e-05/0.175, allocations: 19.92 kB / 0.5221 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.175, allocations: 4 kB / 0.5221 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.175, allocations: 0 / 0.5221 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.175, allocations: 3.938 kB / 0.5221 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.175, allocations: 3.984 kB / 0.5221 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1753, allocations: 183.5 kB / 0.5222 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.1753, allocations: 0 / 0.5222 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.1753, allocations: 4 kB / 0.5222 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1754, allocations: 16.11 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.1754, allocations: 7.938 kB / 0.5223 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1754, allocations: 0 / 0.5223 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.1755, allocations: 107.2 kB / 0.5224 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1755, allocations: 0 / 0.5224 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1758, allocations: 27.88 kB / 0.5224 GB, free: 0.6094 MB / 398.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.001592/0.1774, allocations: 429.7 kB / 0.5228 GB, free: 240 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.1776, allocations: 55.95 kB / 0.5229 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1776, allocations: 0 / 0.5229 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.471e-05/0.1777, allocations: 27.92 kB / 0.5229 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.178, allocations: 23.84 kB / 0.5229 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.1785, allocations: 165.3 kB / 0.5231 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.1789, allocations: 0.6924 MB / 0.5237 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.608e-05/0.179, allocations: 11.98 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.179, allocations: 15.42 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.179, allocations: 0 / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of Templates: time 0.005223/0.1842, allocations: 1.397 MB / 0.5251 GB, free: 13.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.764699688181281]