Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.001635/0.001635, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001954/0.001954, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.514/1.514, allocations: 230.2 MB / 255.1 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.239/0.239, allocations: 46.88 MB / 358.1 MB, free: 10.54 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 87.84 kB / 0.4924 GB, free: 8.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1602, allocations: 65.98 MB / 0.5568 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003798/0.164, allocations: 1.672 MB / 0.5585 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1652, allocations: 0.5567 MB / 0.559 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.1653, allocations: 0 / 0.559 GB, free: 3.699 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1656, allocations: 39.77 kB / 0.559 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.166, allocations: 79.62 kB / 0.5591 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.1664, allocations: 118.9 kB / 0.5592 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.1666, allocations: 99.73 kB / 0.5593 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1668, allocations: 19.98 kB / 0.5593 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.919e-05/0.1668, allocations: 31.86 kB / 0.5594 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.1669, allocations: 39.83 kB / 0.5594 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.167, allocations: 4 kB / 0.5594 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1671, allocations: 55.86 kB / 0.5595 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.1672, allocations: 23.91 kB / 0.5595 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.066e-05/0.1673, allocations: 31.81 kB / 0.5595 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1675, allocations: 119.5 kB / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1675, allocations: 0 / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1675, allocations: 0 / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1675, allocations: 0 / 0.5596 GB, free: 3.051 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007136/0.1682, allocations: 414.7 kB / 0.56 GB, free: 2.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1683, allocations: 8.031 kB / 0.56 GB, free: 2.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.1683, allocations: 16.84 kB / 0.5601 GB, free: 2.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.1686, allocations: 200.2 kB / 0.5602 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1686, allocations: 8.375 kB / 0.5602 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1687, allocations: 8.375 kB / 0.5603 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1689, allocations: 70.23 kB / 0.5603 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1689, allocations: 192 / 0.5603 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1689, allocations: 3.938 kB / 0.5603 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1689, allocations: 7.922 kB / 0.5603 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.169, allocations: 43.91 kB / 0.5604 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.1696, allocations: 336.7 kB / 0.5607 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1697, allocations: 62.5 kB / 0.5608 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.1698, allocations: 28.84 kB / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1699, allocations: 0 / 0.5608 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.1699, allocations: 34.55 kB / 0.5608 GB, free: 1.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.1699, allocations: 3.938 kB / 0.5608 GB, free: 1.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001236/0.1711, allocations: 321.8 kB / 0.5611 GB, free: 1.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.1712, allocations: 55.34 kB / 0.5612 GB, free: 1.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.1714, allocations: 168.6 kB / 0.5613 GB, free: 1.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1714, allocations: 29.7 kB / 0.5614 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.1715, allocations: 108 kB / 0.5615 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.1716, allocations: 39.59 kB / 0.5615 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.1716, allocations: 33.7 kB / 0.5615 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1718, allocations: 318.8 kB / 0.5618 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1719, allocations: 48.09 kB / 0.5619 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.172, allocations: 47.97 kB / 0.5619 GB, free: 480 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.1723, allocations: 108.3 kB / 0.562 GB, free: 372 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1723, allocations: 4 kB / 0.562 GB, free: 368 kB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003353/0.1727, allocations: 149.5 kB / 0.5622 GB, free: 212 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.1727, allocations: 11.98 kB / 0.5622 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1727, allocations: 0 / 0.5622 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1727, allocations: 3.938 kB / 0.5622 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1728, allocations: 27.92 kB / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1728, allocations: 240 / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1729, allocations: 12 kB / 0.5622 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1729, allocations: 4 kB / 0.5622 GB, free: 152 kB / 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.0001276/0.173, allocations: 129.8 kB / 0.5624 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.1731, allocations: 7.953 kB / 0.5624 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004392/0.1735, allocations: 190.2 kB / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1735, allocations: 4 kB / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1735, allocations: 0 / 0.5626 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1735, allocations: 7.984 kB / 0.5626 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.1743, allocations: 491.1 kB / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1743, allocations: 0 / 0.563 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.649e-05/0.1744, allocations: 27.97 kB / 0.5631 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1744, allocations: 7.938 kB / 0.5631 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1744, allocations: 4 kB / 0.5631 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1744, allocations: 8.016 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1744, allocations: 4 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.1748, allocations: 252.2 kB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.32e-05/0.1749, allocations: 81.06 kB / 0.5634 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1749, allocations: 4 kB / 0.5634 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.175, allocations: 15.98 kB / 0.5634 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.175, allocations: 11.92 kB / 0.5634 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.175, allocations: 4 kB / 0.5634 GB, free: 14.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1751, allocations: 129.8 kB / 0.5636 GB, free: 14.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1751, allocations: 0 / 0.5636 GB, free: 14.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1754, allocations: 27.94 kB / 0.5636 GB, free: 14.66 MB / 430.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.00176/0.1772, allocations: 459.4 kB / 0.564 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.1775, allocations: 107.9 kB / 0.5641 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1775, allocations: 3.938 kB / 0.5641 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1776, allocations: 63.89 kB / 0.5642 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.178, allocations: 16.06 kB / 0.5642 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007158/0.1787, allocations: 304.9 kB / 0.5645 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.1791, allocations: 0.7041 MB / 0.5652 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.1792, allocations: 27.42 kB / 0.5652 GB, free: 13.11 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1792, allocations: 4 kB / 0.5652 GB, free: 13.1 MB / 430.1 MB Notification: Performance of Templates: time 0.004825/0.184, allocations: 2.016 MB / 0.5672 GB, free: 11.08 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test29.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.205204050987959]