Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001554/0.001554, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001723/0.001723, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.555/1.555, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 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.3504/0.3504, allocations: 34.25 MB / 295.2 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.706e-05, allocations: 6.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003277/0.003304, allocations: 1.716 MB / 379 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.005214, allocations: 0.9814 MB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.005279, allocations: 0 / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.005593, allocations: 51.64 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003956/0.005989, allocations: 103.5 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.006221, allocations: 75.67 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.00647, allocations: 111.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.006579, allocations: 7.984 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.006707, allocations: 51.89 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.006806, allocations: 27.86 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.006837, allocations: 7.984 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.006959, allocations: 43.92 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.243e-05/0.007032, allocations: 19.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.007098, allocations: 19.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.00738, allocations: 135.5 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.203e-05/0.007402, allocations: 7.984 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.007404, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.007409, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.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.0006723/0.008081, allocations: 357.5 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.00812, allocations: 8.031 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.00819, allocations: 16.84 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.00852, allocations: 158.3 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.00854, allocations: 8.375 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.008565, allocations: 384 / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.008746, allocations: 70.17 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.008758, allocations: 192 / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.00877, allocations: 384 / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.008777, allocations: 3.938 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.104e-05/0.008868, allocations: 23.97 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.009271, allocations: 232.6 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.009485, allocations: 58.61 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.009549, allocations: 16.86 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.009566, allocations: 4 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.009739, allocations: 79.27 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.009741, allocations: 4 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006491/0.01039, allocations: 185.3 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.01045, allocations: 55.41 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.01074, allocations: 239.6 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.01076, allocations: 25.7 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.523e-05/0.01086, allocations: 108.1 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.01089, allocations: 27.78 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/0.01094, allocations: 21.72 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.01114, allocations: 330.8 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.01122, allocations: 23.98 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.072e-05/0.01131, allocations: 37.7 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01146, allocations: 61.69 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01146, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002368/0.01169, allocations: 113.5 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.01172, allocations: 8 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01172, allocations: 0 / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.01175, allocations: 3.984 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.01185, allocations: 23.97 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.01186, allocations: 4 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.01191, allocations: 3.984 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.01192, allocations: 4.156 kB / 382.9 MB, free: 12.99 MB / 362.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 0.0001461/0.01207, allocations: 136.2 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.01211, allocations: 19.84 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.01243, allocations: 127 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01243, allocations: 0 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01243, allocations: 384 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01244, allocations: 7.938 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.01298, allocations: 358.9 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.01298, allocations: 8 kB / 383.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.01303, allocations: 8 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01303, allocations: 3.984 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.01304, allocations: 0 / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01304, allocations: 4 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01304, allocations: 0 / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.01337, allocations: 220.2 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.336e-05/0.01339, allocations: 7.984 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.01342, allocations: 11.98 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.0135, allocations: 0 / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.01354, allocations: 11.98 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.01356, allocations: 7.938 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.01375, allocations: 179.2 kB / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01375, allocations: 0 / 384 MB, free: 11.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.01405, allocations: 24 kB / 384 MB, free: 11.81 MB / 362.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.002583/0.01663, allocations: 483.9 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.01685, allocations: 67.84 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01685, allocations: 0 / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.01693, allocations: 23.98 kB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.01734, allocations: 35.92 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.01795, allocations: 273 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.01809, allocations: 100.8 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.186e-05/0.01815, allocations: 21.27 kB / 385 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.0182, allocations: 16.5 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0182, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of Templates: time 0.005793/0.02399, allocations: 1.877 MB / 386.9 MB, free: 9.07 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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: 4.8676799609092996]