Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001722/0.001722, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001616/0.001616, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 18.57 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.032/1.032, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.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.1419/0.1419, allocations: 34.89 MB / 297.4 MB, free: 13.34 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.662e-05, allocations: 6.906 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002271/0.002298, allocations: 1.759 MB / 381.9 MB, free: 20.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.003445, allocations: 0.9948 MB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.885e-05/0.003534, allocations: 3.938 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.003827, allocations: 55.73 kB / 382.9 MB, free: 19.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.004111, allocations: 103.5 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.004309, allocations: 79.61 kB / 383.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.004455, allocations: 111.6 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.004543, allocations: 7.984 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.013e-05/0.004623, allocations: 51.78 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.004697, allocations: 31.89 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.004712, allocations: 4 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.004792, allocations: 43.92 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.004841, allocations: 31.91 kB / 383.4 MB, free: 19.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.004872, allocations: 19.88 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.005031, allocations: 115.6 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005033, allocations: 3.938 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005034, allocations: 4 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.005038, allocations: 0 / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003619/0.0054, allocations: 471.6 kB / 384 MB, free: 18.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.005431, allocations: 12.03 kB / 384 MB, free: 18.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.005469, allocations: 16.84 kB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.00559, allocations: 161.3 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005604, allocations: 4.375 kB / 384.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.005618, allocations: 4.359 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.126e-05/0.005709, allocations: 62.94 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.005719, allocations: 192 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.005727, allocations: 12.3 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005732, allocations: 3.938 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.37e-05/0.005756, allocations: 11.98 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.005965, allocations: 268.4 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.006041, allocations: 47.17 kB / 384.6 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.006061, allocations: 23.61 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.006073, allocations: 0 / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.504e-05/0.006148, allocations: 61.05 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.006149, allocations: 0 / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003073/0.006456, allocations: 149.4 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.00648, allocations: 63.34 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.00658, allocations: 265.6 kB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.006589, allocations: 25.7 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.006632, allocations: 170.8 kB / 385.3 MB, free: 17.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.006657, allocations: 27.77 kB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.006687, allocations: 23.38 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.006733, allocations: 0.5118 MB / 385.9 MB, free: 16.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.006748, allocations: 8 kB / 385.9 MB, free: 16.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.006773, allocations: 31.67 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.006814, allocations: 55.41 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.006814, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.102e-05/0.006905, allocations: 101.4 kB / 386 MB, free: 16.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.006917, allocations: 4 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.006921, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.00693, allocations: 0 / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.006988, allocations: 16 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.006991, allocations: 3.984 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.00702, allocations: 0 / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007027, allocations: 12.03 kB / 386.1 MB, free: 16.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.202e-05/0.007079, allocations: 160.5 kB / 386.2 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.007094, allocations: 19.84 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.007208, allocations: 99.12 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.00721, allocations: 4 kB / 386.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007212, allocations: 3.938 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.007215, allocations: 0 / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.007411, allocations: 365.6 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.007413, allocations: 3.938 kB / 386.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.007438, allocations: 12.03 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.007439, allocations: 0 / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.007446, allocations: 11.98 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007448, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007449, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.829e-05/0.007547, allocations: 259.4 kB / 387 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.134e-05/0.007559, allocations: 11.91 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.007573, allocations: 0 / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.056e-05/0.007614, allocations: 8 kB / 387 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.007636, allocations: 11.92 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.007647, allocations: 4 kB / 387 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.007698, allocations: 188.5 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007698, allocations: 0 / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.007876, allocations: 31.92 kB / 387.3 MB, free: 15.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008557/0.008732, allocations: 430.2 kB / 387.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.008846, allocations: 47.59 kB / 387.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.008849, allocations: 0 / 387.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.008882, allocations: 35.61 kB / 387.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.009127, allocations: 47.77 kB / 387.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/0.00946, allocations: 260.4 kB / 388.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.52e-05/0.009496, allocations: 75.19 kB / 388.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.009534, allocations: 12.97 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.009594, allocations: 90.19 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.113e-06/0.009596, allocations: 4 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Templates: time 0.003545/0.01314, allocations: 2.081 MB / 390.3 MB, free: 12.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.436087390873581]