Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001323/0.001323, allocations: 122 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.001406/0.001406, allocations: 206.5 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.476/1.476, allocations: 227.4 MB / 251.6 MB, free: 300 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.2604/0.2604, allocations: 46.19 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 81.47 kB / 490.2 MB, free: 27.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.16, allocations: 62.45 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003667/0.1638, allocations: 1.655 MB / 0.5413 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.165, allocations: 0.5411 MB / 0.5419 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.1651, allocations: 0 / 0.5419 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.1655, allocations: 91.67 kB / 0.542 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.1658, allocations: 115.6 kB / 0.5421 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1662, allocations: 98.69 kB / 0.5422 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1664, allocations: 95.8 kB / 0.5423 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1665, allocations: 27.92 kB / 0.5423 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.1666, allocations: 51.77 kB / 0.5423 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.1668, allocations: 59.81 kB / 0.5424 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.1668, allocations: 4 kB / 0.5424 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1669, allocations: 47.98 kB / 0.5424 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.994e-05/0.167, allocations: 27.86 kB / 0.5425 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.1671, allocations: 47.66 kB / 0.5425 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.1673, allocations: 123.4 kB / 0.5426 GB, free: 1.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1673, allocations: 0 / 0.5426 GB, free: 1.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1673, allocations: 0 / 0.5426 GB, free: 1.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1674, allocations: 0 / 0.5426 GB, free: 1.254 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000683/0.168, allocations: 442.6 kB / 0.543 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.1681, allocations: 8.031 kB / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.1682, allocations: 16.84 kB / 0.5431 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1684, allocations: 208.1 kB / 0.5433 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1684, allocations: 8.375 kB / 0.5433 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.1685, allocations: 4.375 kB / 0.5433 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1687, allocations: 74.16 kB / 0.5434 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.1687, allocations: 4.141 kB / 0.5434 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1687, allocations: 3.938 kB / 0.5434 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1687, allocations: 4 kB / 0.5434 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1689, allocations: 39.97 kB / 0.5434 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.1694, allocations: 328.7 kB / 0.5437 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.1696, allocations: 70.42 kB / 0.5438 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.109e-05/0.1696, allocations: 24.84 kB / 0.5438 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.1697, allocations: 7.984 kB / 0.5438 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1697, allocations: 30.56 kB / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1697, allocations: 0 / 0.5438 GB, free: 15.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001108/0.1708, allocations: 325.7 kB / 0.5442 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1709, allocations: 51.41 kB / 0.5442 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.1712, allocations: 243.4 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1712, allocations: 25.7 kB / 0.5445 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.1713, allocations: 116.1 kB / 0.5446 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.1714, allocations: 43.58 kB / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.1714, allocations: 29.72 kB / 0.5446 GB, free: 14.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1716, allocations: 326.8 kB / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.639e-05/0.1717, allocations: 39.98 kB / 0.545 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.1718, allocations: 35.98 kB / 0.545 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.172, allocations: 86.95 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.172, allocations: 0 / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002787/0.1723, allocations: 145.5 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1723, allocations: 4 kB / 0.5453 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1723, allocations: 4 kB / 0.5453 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1723, allocations: 0 / 0.5453 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1725, allocations: 23.98 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1725, allocations: 7.938 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.1725, allocations: 7.984 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.1726, allocations: 0 / 0.5453 GB, free: 14.29 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 (13): * Single equations (assignments): 13 * 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.000137/0.1727, allocations: 137.8 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1727, allocations: 15.84 kB / 0.5454 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.1731, allocations: 159.2 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1731, allocations: 4 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1731, allocations: 3.938 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1731, allocations: 0 / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006511/0.1738, allocations: 483.1 kB / 0.5461 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1738, allocations: 4.031 kB / 0.5461 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.174e-05/0.1739, allocations: 27.92 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1739, allocations: 0 / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1739, allocations: 4 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.174, allocations: 0 / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.174, allocations: 0 / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1743, allocations: 259.3 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.1744, allocations: 89.02 kB / 0.5464 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1744, allocations: 4 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.1745, allocations: 4 kB / 0.5464 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.1745, allocations: 23.86 kB / 0.5465 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.1746, allocations: 4 kB / 0.5465 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.1747, allocations: 177.2 kB / 0.5466 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1747, allocations: 0 / 0.5466 GB, free: 12.81 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000269/0.175, allocations: 31.94 kB / 0.5467 GB, free: 12.78 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 (13): * Single equations (assignments): 13 * 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.00177/0.1768, allocations: 441.5 kB / 0.5471 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.1771, allocations: 99.88 kB / 0.5472 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1771, allocations: 7.938 kB / 0.5472 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.1772, allocations: 55.91 kB / 0.5472 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1776, allocations: 26.92 kB / 0.5473 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006226/0.1783, allocations: 311.6 kB / 0.5476 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.1787, allocations: 0.7236 MB / 0.5483 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.1787, allocations: 20.53 kB / 0.5483 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.1788, allocations: 15.44 kB / 0.5483 GB, free: 11.2 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1788, allocations: 0 / 0.5483 GB, free: 11.2 MB / 414.1 MB Notification: Performance of Templates: time 0.005196/0.184, allocations: 1.559 MB / 0.5498 GB, free: 9.641 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test4.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.26952956058085]