Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002463/0.002463, allocations: 203.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.53/1.53, allocations: 227.4 MB / 251.6 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2587/0.2587, allocations: 46.16 MB / 351.1 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 77.89 kB / 490.2 MB, free: 28.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1595, allocations: 62.45 MB / 0.5397 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003154/0.1627, allocations: 1.587 MB / 0.5413 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1638, allocations: 0.5411 MB / 0.5418 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.1638, allocations: 0 / 0.5418 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002477/0.1641, allocations: 27.8 kB / 0.5418 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002869/0.1644, allocations: 79.67 kB / 0.5419 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.1647, allocations: 122 kB / 0.542 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.1649, allocations: 63.78 kB / 0.5421 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.165, allocations: 15.92 kB / 0.5421 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.165, allocations: 19.92 kB / 0.5421 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.547e-05/0.1651, allocations: 23.86 kB / 0.5421 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1651, allocations: 4 kB / 0.5421 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.1652, allocations: 35.98 kB / 0.5422 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.1653, allocations: 23.91 kB / 0.5422 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.1653, allocations: 19.81 kB / 0.5422 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.1655, allocations: 91.59 kB / 0.5423 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1655, allocations: 3.938 kB / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1655, allocations: 0 / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1656, allocations: 0 / 0.5423 GB, free: 1.559 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.0005347/0.1661, allocations: 390.9 kB / 0.5427 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1661, allocations: 12.03 kB / 0.5427 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1662, allocations: 12.84 kB / 0.5427 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1664, allocations: 199.8 kB / 0.5429 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1664, allocations: 4.359 kB / 0.5429 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1664, allocations: 4.375 kB / 0.5429 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1666, allocations: 57.75 kB / 0.5429 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1666, allocations: 3.984 kB / 0.5429 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1666, allocations: 0 / 0.5429 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.1666, allocations: 0 / 0.5429 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.1667, allocations: 23.97 kB / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.1672, allocations: 284.9 kB / 0.5432 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.1675, allocations: 50.48 kB / 0.5433 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.1675, allocations: 12.86 kB / 0.5433 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1676, allocations: 0 / 0.5433 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.1676, allocations: 34.56 kB / 0.5433 GB, free: 336 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1676, allocations: 4 kB / 0.5433 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005815/0.1682, allocations: 157.4 kB / 0.5435 GB, free: 168 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.1682, allocations: 55.34 kB / 0.5435 GB, free: 100 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.1685, allocations: 174.5 kB / 0.5437 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1685, allocations: 33.7 kB / 0.5437 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.1686, allocations: 92.14 kB / 0.5438 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.1686, allocations: 23.83 kB / 0.5438 GB, free: 15.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1686, allocations: 17.72 kB / 0.5439 GB, free: 15.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1688, allocations: 326.8 kB / 0.5442 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.609e-05/0.1689, allocations: 19.98 kB / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.169, allocations: 19.98 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1691, allocations: 61 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1691, allocations: 4 kB / 0.5443 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001847/0.1693, allocations: 85.52 kB / 0.5444 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1694, allocations: 8 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1694, allocations: 0 / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1694, allocations: 0 / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.1694, allocations: 11.98 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1695, allocations: 0 / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.1695, allocations: 11.98 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1695, allocations: 4 kB / 0.5444 GB, free: 15.17 MB / 414.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.0001052/0.1696, allocations: 121.8 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1697, allocations: 7.953 kB / 0.5445 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.1699, allocations: 105.8 kB / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.1699, allocations: 4 kB / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.17, allocations: 0 / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.17, allocations: 0 / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.1704, allocations: 362.5 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1704, allocations: 3.938 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.1705, allocations: 11.98 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1705, allocations: 0 / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1705, allocations: 4 kB / 0.545 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.1705, allocations: 7.938 kB / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1705, allocations: 192 / 0.545 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1708, allocations: 187.5 kB / 0.5452 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.1709, allocations: 85.02 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1709, allocations: 3.984 kB / 0.5453 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.171, allocations: 11.88 kB / 0.5453 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.171, allocations: 8 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.171, allocations: 0 / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1711, allocations: 139.9 kB / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.1712, allocations: 0 / 0.5454 GB, free: 14.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002285/0.1714, allocations: 19.94 kB / 0.5454 GB, free: 14 MB / 414.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.001483/0.1729, allocations: 399.8 kB / 0.5458 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1731, allocations: 59.95 kB / 0.5459 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1731, allocations: 0 / 0.5459 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.138e-05/0.1732, allocations: 27.92 kB / 0.5459 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1736, allocations: 27.86 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.1741, allocations: 205.8 kB / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1745, allocations: 0.6924 MB / 0.5468 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.596e-05/0.1746, allocations: 15.77 kB / 0.5468 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.1746, allocations: 15.44 kB / 0.5468 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1746, allocations: 4 kB / 0.5468 GB, free: 12.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004188/0.1788, allocations: 1.132 MB / 0.5479 GB, free: 11.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test12.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.2350285882130265]