Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001302/0.001302, 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.001342/0.001343, 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.559/1.559, allocations: 227.4 MB / 251.6 MB, free: 40 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.2797/0.2797, allocations: 46.17 MB / 351.1 MB, free: 14.26 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 79 kB / 490.2 MB, free: 27.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1616, allocations: 62.45 MB / 0.5397 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003668/0.1653, allocations: 1.595 MB / 0.5413 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1665, allocations: 0.5294 MB / 0.5418 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.1666, allocations: 3.938 kB / 0.5418 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002695/0.1669, allocations: 27.83 kB / 0.5418 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003611/0.1672, allocations: 79.62 kB / 0.5419 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.1675, allocations: 83.77 kB / 0.542 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1677, allocations: 71.83 kB / 0.542 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1679, allocations: 15.88 kB / 0.5421 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.1679, allocations: 27.91 kB / 0.5421 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.892e-05/0.168, allocations: 19.86 kB / 0.5421 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1681, allocations: 4 kB / 0.5421 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.14e-05/0.1682, allocations: 24 kB / 0.5421 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.1682, allocations: 15.92 kB / 0.5421 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.1683, allocations: 27.73 kB / 0.5422 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1685, allocations: 83.72 kB / 0.5422 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.1685, allocations: 7.938 kB / 0.5423 GB, free: 1.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1685, allocations: 0 / 0.5423 GB, free: 1.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1686, allocations: 0 / 0.5423 GB, free: 1.566 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.0006248/0.1692, allocations: 386.9 kB / 0.5426 GB, free: 1.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.1692, allocations: 15.97 kB / 0.5426 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.1693, allocations: 4.891 kB / 0.5426 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1696, allocations: 200.2 kB / 0.5428 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1696, allocations: 384 / 0.5428 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.1696, allocations: 4.375 kB / 0.5428 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1698, allocations: 54.19 kB / 0.5429 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1698, allocations: 192 / 0.5429 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.1698, allocations: 3.938 kB / 0.5429 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.1698, allocations: 7.984 kB / 0.5429 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.17, allocations: 23.97 kB / 0.5429 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1704, allocations: 272.9 kB / 0.5432 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.1707, allocations: 50.44 kB / 0.5432 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.1707, allocations: 12.86 kB / 0.5432 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1708, allocations: 4 kB / 0.5432 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.1708, allocations: 34.64 kB / 0.5433 GB, free: 356 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1708, allocations: 0 / 0.5433 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006159/0.1714, allocations: 141.4 kB / 0.5434 GB, free: 208 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.1715, allocations: 51.41 kB / 0.5435 GB, free: 144 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1717, allocations: 165.8 kB / 0.5436 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.1718, allocations: 25.7 kB / 0.5436 GB, free: 15.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.1719, allocations: 100.1 kB / 0.5437 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1719, allocations: 15.86 kB / 0.5438 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.1719, allocations: 13.72 kB / 0.5438 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1721, allocations: 330.8 kB / 0.5441 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.69e-05/0.1722, allocations: 19.98 kB / 0.5441 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.812e-05/0.1723, allocations: 15.98 kB / 0.5441 GB, free: 15.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1724, allocations: 48.95 kB / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1724, allocations: 0 / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000193/0.1726, allocations: 85.62 kB / 0.5442 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1727, allocations: 8 kB / 0.5443 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1727, allocations: 0 / 0.5443 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1727, allocations: 4 kB / 0.5443 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.1728, allocations: 11.98 kB / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1728, allocations: 0 / 0.5443 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.1728, allocations: 7.938 kB / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.1728, allocations: 3.984 kB / 0.5443 GB, free: 15.26 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.0001191/0.173, allocations: 121.8 kB / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.173, allocations: 15.89 kB / 0.5444 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.1733, allocations: 93.91 kB / 0.5445 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1733, allocations: 0 / 0.5445 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1733, allocations: 0 / 0.5445 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1733, allocations: 0 / 0.5445 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.1738, allocations: 354.4 kB / 0.5448 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1738, allocations: 0 / 0.5448 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.1739, allocations: 19.98 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1739, allocations: 0 / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1739, allocations: 0 / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.1739, allocations: 3.938 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1739, allocations: 0 / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1742, allocations: 179.7 kB / 0.545 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.1742, allocations: 81.06 kB / 0.5451 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1743, allocations: 8.062 kB / 0.5451 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.1743, allocations: 7.938 kB / 0.5451 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.1744, allocations: 11.92 kB / 0.5451 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.1744, allocations: 4 kB / 0.5451 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.1745, allocations: 126.6 kB / 0.5453 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1745, allocations: 0 / 0.5453 GB, free: 14.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1748, allocations: 19.89 kB / 0.5453 GB, free: 14.12 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.001639/0.1764, allocations: 408.6 kB / 0.5457 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1767, allocations: 43.97 kB / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1767, allocations: 0 / 0.5457 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.1768, allocations: 27.92 kB / 0.5457 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1772, allocations: 20.22 kB / 0.5458 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.1777, allocations: 186.1 kB / 0.5459 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.1782, allocations: 0.6963 MB / 0.5466 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.1782, allocations: 11.78 kB / 0.5466 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1783, allocations: 11.44 kB / 0.5466 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1783, allocations: 0 / 0.5466 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Templates: time 0.004399/0.1827, allocations: 1.124 MB / 0.5477 GB, free: 11.69 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.285868160426617]