Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 210.9 kB / 23.74 MB, free: 4.445 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.67/1.67, allocations: 207.7 MB / 234.6 MB, free: 9.809 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.2743/0.2743, allocations: 44.27 MB / 331.1 MB, free: 9.312 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 75.89 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1713, allocations: 61.04 MB / 0.5174 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.005045/0.1764, allocations: 1.56 MB / 0.5189 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1788, allocations: 1.025 MB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.1789, allocations: 0 / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.1792, allocations: 23.86 kB / 0.5199 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.1795, allocations: 47.77 kB / 0.52 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.1799, allocations: 99.73 kB / 0.5201 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.18, allocations: 59.78 kB / 0.5201 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.1802, allocations: 15.98 kB / 0.5201 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.1802, allocations: 19.92 kB / 0.5202 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.1804, allocations: 31.78 kB / 0.5202 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1804, allocations: 7.938 kB / 0.5202 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.1805, allocations: 43.98 kB / 0.5202 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.1806, allocations: 19.91 kB / 0.5203 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.1806, allocations: 11.94 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.1809, allocations: 87.59 kB / 0.5204 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1809, allocations: 0 / 0.5204 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1809, allocations: 0 / 0.5204 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1809, allocations: 0 / 0.5204 GB, free: 3.605 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.0006084/0.1815, allocations: 317.9 kB / 0.5207 GB, free: 3.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1816, allocations: 8.031 kB / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.1816, allocations: 8.891 kB / 0.5207 GB, free: 3.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.1819, allocations: 122.5 kB / 0.5208 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1819, allocations: 384 / 0.5208 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1819, allocations: 384 / 0.5208 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1822, allocations: 97.22 kB / 0.5209 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1822, allocations: 0 / 0.5209 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1822, allocations: 3.984 kB / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1822, allocations: 0 / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.1823, allocations: 31.92 kB / 0.5209 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.1828, allocations: 224.5 kB / 0.5211 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.1831, allocations: 42.56 kB / 0.5212 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.1831, allocations: 16.94 kB / 0.5212 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1832, allocations: 0 / 0.5212 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.1832, allocations: 42.5 kB / 0.5212 GB, free: 2.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1832, allocations: 0 / 0.5212 GB, free: 2.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007545/0.184, allocations: 137.5 kB / 0.5214 GB, free: 2.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/0.184, allocations: 92.98 kB / 0.5214 GB, free: 2.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1842, allocations: 125.8 kB / 0.5216 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.1843, allocations: 29.7 kB / 0.5216 GB, free: 2.168 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.1843, allocations: 92.12 kB / 0.5217 GB, free: 2.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.1844, allocations: 23.8 kB / 0.5217 GB, free: 2.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.1844, allocations: 13.72 kB / 0.5217 GB, free: 2.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1846, allocations: 326.8 kB / 0.522 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.95e-05/0.1847, allocations: 23.98 kB / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1849, allocations: 63.45 kB / 0.5221 GB, free: 1.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.1851, allocations: 52.83 kB / 0.5222 GB, free: 1.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1851, allocations: 0 / 0.5222 GB, free: 1.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002948/0.1853, allocations: 85.56 kB / 0.5222 GB, free: 1.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1854, allocations: 4 kB / 0.5222 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1854, allocations: 4 kB / 0.5223 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1854, allocations: 8.016 kB / 0.5223 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.1855, allocations: 8 kB / 0.5223 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1855, allocations: 3.938 kB / 0.5223 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.716e-05/0.1855, allocations: 7.984 kB / 0.5223 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1856, allocations: 4 kB / 0.5223 GB, free: 1.422 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.0001197/0.1857, allocations: 117.8 kB / 0.5224 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.1857, allocations: 7.953 kB / 0.5224 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.1861, allocations: 105.6 kB / 0.5225 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1861, allocations: 4 kB / 0.5225 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1861, allocations: 0 / 0.5225 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1861, allocations: 0 / 0.5225 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.1866, allocations: 294.4 kB / 0.5228 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1867, allocations: 64 / 0.5228 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.1867, allocations: 15.98 kB / 0.5228 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1867, allocations: 0 / 0.5228 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1867, allocations: 4 kB / 0.5228 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1867, allocations: 0 / 0.5228 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1868, allocations: 7.938 kB / 0.5228 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.1871, allocations: 187.4 kB / 0.523 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.1871, allocations: 0 / 0.523 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1871, allocations: 4 kB / 0.523 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1872, allocations: 7.922 kB / 0.523 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1873, allocations: 4 kB / 0.523 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1873, allocations: 3.938 kB / 0.523 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.1874, allocations: 107.2 kB / 0.5231 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1874, allocations: 0 / 0.5231 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.1879, allocations: 27.94 kB / 0.5231 GB, free: 480 kB / 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.002368/0.1902, allocations: 458.5 kB / 0.5236 GB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.1905, allocations: 59.89 kB / 0.5236 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1905, allocations: 0 / 0.5236 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.1907, allocations: 27.98 kB / 0.5237 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.1912, allocations: 19.84 kB / 0.5237 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.1917, allocations: 187.1 kB / 0.5239 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.1918, allocations: 83.5 kB / 0.5239 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.1919, allocations: 27.25 kB / 0.524 GB, free: 15.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1919, allocations: 0 / 0.524 GB, free: 15.62 MB / 414.1 MB Notification: Performance of Templates: time 0.003952/0.1958, allocations: 1.602 MB / 0.5255 GB, free: 14.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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: 8.21046358672902]