Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.0008233/0.0008233, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001936/0.002759, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001101/0.001101, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001696/0.002797, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.017/1.017, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08827/1.105, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.3297/0.3297, allocations: 34.89 MB / 279.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03047/0.3601, allocations: 13.24 MB / 292.8 MB, free: 6.387 MB / 282.7 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.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.687e-05, allocations: 6.969 kB / 294.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002242/0.002259, allocations: 1.986 MB / 296.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.003605, allocations: 1.134 MB / 297.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.463e-05/0.0037, allocations: 4 kB / 297.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.004004, allocations: 219.2 kB / 297.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.004312, allocations: 219 kB / 297.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.004532, allocations: 123.5 kB / 297.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.004772, allocations: 259.2 kB / 298.1 MB, free: 1.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.004859, allocations: 34.53 kB / 298.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.005065, allocations: 208.1 kB / 298.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.005204, allocations: 131.7 kB / 298.5 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.005224, allocations: 8 kB / 298.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.005324, allocations: 63.92 kB / 298.6 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.005387, allocations: 59.72 kB / 298.6 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.00545, allocations: 39.81 kB / 298.7 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002444/0.005694, allocations: 187.3 kB / 298.8 MB, free: 336 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.005706, allocations: 0 / 298.8 MB, free: 336 kB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005707, allocations: 0 / 298.8 MB, free: 336 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.005719, allocations: 7.938 kB / 298.8 MB, free: 328 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005616/0.006281, allocations: 0.5037 MB / 299.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.006313, allocations: 8.031 kB / 299.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.006354, allocations: 32.86 kB / 299.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.006551, allocations: 205.8 kB / 299.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.00657, allocations: 12.31 kB / 299.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.006594, allocations: 8.359 kB / 299.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.006733, allocations: 115.4 kB / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.006742, allocations: 192 / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.006749, allocations: 384 / 299.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.006757, allocations: 11.94 kB / 299.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.006794, allocations: 25.58 kB / 299.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.00707, allocations: 300.9 kB / 300.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.007255, allocations: 186.6 kB / 300.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.007284, allocations: 29.95 kB / 300.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.007296, allocations: 4 kB / 300.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.007409, allocations: 104.3 kB / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.00741, allocations: 0 / 300.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005694/0.007979, allocations: 340.7 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.008014, allocations: 81.09 kB / 300.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.008197, allocations: 328.6 kB / 301.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.008218, allocations: 33.7 kB / 301.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.008261, allocations: 117.5 kB / 301.3 MB, free: 13.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.008307, allocations: 71.42 kB / 301.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.008347, allocations: 41.69 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.00844, allocations: 354.7 kB / 301.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.227e-05/0.008472, allocations: 26.81 kB / 301.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.008517, allocations: 55.34 kB / 301.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/0.008607, allocations: 108.2 kB / 301.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008608, allocations: 0 / 301.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001305/0.008739, allocations: 135.2 kB / 302 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.008756, allocations: 10.88 kB / 302 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.00876, allocations: 4 kB / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.008771, allocations: 0 / 302 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.008863, allocations: 51.92 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.008868, allocations: 3.984 kB / 302.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.00891, allocations: 8 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.008919, allocations: 4.938 kB / 302.1 MB, free: 12.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.552e-05/0.009015, allocations: 136.5 kB / 302.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.009039, allocations: 27.97 kB / 302.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.00921, allocations: 166.2 kB / 302.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.009214, allocations: 8 kB / 302.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.009215, allocations: 0 / 302.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009219, allocations: 0 / 302.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.009645, allocations: 0.5606 MB / 303 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.009647, allocations: 0 / 303 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.009722, allocations: 39.92 kB / 303 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.009748, allocations: 31.8 kB / 303.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.009752, allocations: 7.938 kB / 303.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.009761, allocations: 8.125 kB / 303.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.009763, allocations: 0 / 303.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.009766, allocations: 4 kB / 303.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.009961, allocations: 412.8 kB / 303.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.009986, allocations: 15.88 kB / 303.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.01006, allocations: 8 kB / 303.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.01009, allocations: 23.95 kB / 303.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.01011, allocations: 4 kB / 303.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.847e-05/0.01021, allocations: 147.4 kB / 303.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01021, allocations: 0 / 303.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.0104, allocations: 51.94 kB / 303.7 MB, free: 11.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001535/0.01194, allocations: 0.7104 MB / 304.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001622/0.0121, allocations: 100.7 kB / 304.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.01211, allocations: 4 kB / 304.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.01219, allocations: 77.11 kB / 304.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.01257, allocations: 376.3 kB / 305 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.01326, allocations: 0.4921 MB / 305.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.234e-05/0.01333, allocations: 100.2 kB / 305.6 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.468e-05/0.0134, allocations: 42.02 kB / 305.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.01351, allocations: 91.36 kB / 305.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01351, allocations: 0 / 305.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of Templates: time 0.005573/0.01908, allocations: 3.717 MB / 309.4 MB, free: 5.719 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0419686883687973]