Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.002004/0.002005, allocations: 121.5 kB / 18.45 MB, free: 4.59 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.002212/0.002212, allocations: 201.8 kB / 21.4 MB, free: 1.645 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.52/1.52, allocations: 227.4 MB / 251.6 MB, free: 24 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.2457/0.2457, allocations: 46.17 MB / 351.1 MB, free: 14.32 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 86.05 kB / 490.2 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1599, allocations: 62.45 MB / 0.5397 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003348/0.1633, allocations: 1.615 MB / 0.5413 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1644, allocations: 0.5333 MB / 0.5418 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.1645, allocations: 0 / 0.5418 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.1648, allocations: 107.7 kB / 0.5419 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1652, allocations: 127.5 kB / 0.542 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.1655, allocations: 93.52 kB / 0.5421 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1657, allocations: 95.73 kB / 0.5422 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.1659, allocations: 23.91 kB / 0.5422 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.947e-05/0.1659, allocations: 43.89 kB / 0.5423 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.1661, allocations: 63.81 kB / 0.5423 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1661, allocations: 4 kB / 0.5423 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1662, allocations: 43.98 kB / 0.5424 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.1663, allocations: 27.8 kB / 0.5424 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.626e-05/0.1663, allocations: 39.73 kB / 0.5425 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.1666, allocations: 115.5 kB / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1666, allocations: 0 / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1666, allocations: 0 / 0.5426 GB, free: 1.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1666, allocations: 0 / 0.5426 GB, free: 1.238 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005784/0.1672, allocations: 438.5 kB / 0.543 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1672, allocations: 16.02 kB / 0.543 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.1673, allocations: 8.891 kB / 0.543 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1675, allocations: 212.8 kB / 0.5432 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1675, allocations: 4.375 kB / 0.5432 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1676, allocations: 384 / 0.5432 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1677, allocations: 50.25 kB / 0.5433 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1677, allocations: 8.141 kB / 0.5433 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1678, allocations: 3.938 kB / 0.5433 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1678, allocations: 4 kB / 0.5433 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1679, allocations: 31.95 kB / 0.5433 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1683, allocations: 296.8 kB / 0.5436 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1685, allocations: 42.72 kB / 0.5436 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.1685, allocations: 16.94 kB / 0.5436 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1686, allocations: 4 kB / 0.5436 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.1686, allocations: 34.56 kB / 0.5437 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1686, allocations: 0 / 0.5437 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009371/0.1696, allocations: 229.2 kB / 0.5439 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.1696, allocations: 59.33 kB / 0.544 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.1699, allocations: 254.1 kB / 0.5442 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1699, allocations: 25.7 kB / 0.5442 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.17, allocations: 112.1 kB / 0.5443 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.1701, allocations: 35.64 kB / 0.5444 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1701, allocations: 17.72 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1703, allocations: 326.8 kB / 0.5447 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.017e-05/0.1704, allocations: 35.92 kB / 0.5447 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.1704, allocations: 23.97 kB / 0.5447 GB, free: 14.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.1706, allocations: 65.05 kB / 0.5448 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1706, allocations: 3.938 kB / 0.5448 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.1708, allocations: 105.5 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1708, allocations: 4 kB / 0.5449 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1709, allocations: 12 kB / 0.5449 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1709, allocations: 0 / 0.5449 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.171, allocations: 15.98 kB / 0.5449 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.171, allocations: 0 / 0.5449 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.171, allocations: 7.984 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1711, allocations: 4 kB / 0.545 GB, free: 14.55 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 (8): * Single equations (assignments): 8 * 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.0001171/0.1712, allocations: 133.8 kB / 0.5451 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.1712, allocations: 16.33 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.1715, allocations: 127 kB / 0.5452 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1715, allocations: 4 kB / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1716, allocations: 0 / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1716, allocations: 3.984 kB / 0.5452 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.1721, allocations: 411.2 kB / 0.5456 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1721, allocations: 4 kB / 0.5456 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.1722, allocations: 20.02 kB / 0.5456 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1722, allocations: 0 / 0.5456 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1722, allocations: 7.938 kB / 0.5457 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1722, allocations: 0 / 0.5457 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1722, allocations: 0 / 0.5457 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1725, allocations: 208.2 kB / 0.5458 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.1726, allocations: 89.05 kB / 0.5459 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1726, allocations: 7.938 kB / 0.5459 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.1727, allocations: 4 kB / 0.5459 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1727, allocations: 7.984 kB / 0.546 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1728, allocations: 4 kB / 0.546 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.1729, allocations: 188.4 kB / 0.5461 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1729, allocations: 0 / 0.5461 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1732, allocations: 23.94 kB / 0.5462 GB, free: 13.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001742/0.1749, allocations: 459.9 kB / 0.5466 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.1752, allocations: 67.89 kB / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1752, allocations: 4 kB / 0.5467 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.1753, allocations: 31.92 kB / 0.5467 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1757, allocations: 32.08 kB / 0.5467 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.1763, allocations: 279.1 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1767, allocations: 0.7197 MB / 0.5477 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.345e-05/0.1767, allocations: 12.66 kB / 0.5477 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.1768, allocations: 11.44 kB / 0.5477 GB, free: 11.71 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1768, allocations: 0 / 0.5477 GB, free: 11.71 MB / 414.1 MB Notification: Performance of Templates: time 0.004613/0.1814, allocations: 1.378 MB / 0.5491 GB, free: 10.33 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.421666527166963]