Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.0007818/0.0007818, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001872, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007124/0.0007124, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008495/0.001562, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9976/0.9976, allocations: 177.4 MB / 189.9 MB, free: 4.848 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08443/1.082, allocations: 53.87 MB / 243.8 MB, free: 14.92 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.2868/0.2868, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03024/0.317, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.224e-06/8.196e-06, allocations: 2.312 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.001781/0.001789, allocations: 1.805 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.003403, allocations: 1.766 MB / 297.5 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.003472, allocations: 7.938 kB / 297.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.003632, allocations: 23.84 kB / 297.6 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.003852, allocations: 104.8 kB / 297.7 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.00401, allocations: 83.66 kB / 297.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.004158, allocations: 111.6 kB / 297.9 MB, free: 1.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.055e-05/0.004229, allocations: 11.98 kB / 297.9 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.004347, allocations: 83.81 kB / 298 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.004451, allocations: 39.88 kB / 298 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.004469, allocations: 8 kB / 298 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.004679, allocations: 111.7 kB / 298.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.004724, allocations: 15.94 kB / 298.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.004757, allocations: 19.94 kB / 298.1 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.004973, allocations: 155.5 kB / 298.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.544e-05/0.004988, allocations: 0 / 298.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.00499, allocations: 0 / 298.3 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.005005, allocations: 4 kB / 298.3 MB, free: 0.7422 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005063/0.005511, allocations: 356.9 kB / 298.6 MB, free: 380 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.005539, allocations: 12.92 kB / 298.7 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.00557, allocations: 4.938 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005717, allocations: 149.5 kB / 298.8 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.005729, allocations: 4.375 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.005747, allocations: 8.375 kB / 298.8 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.005867, allocations: 109.1 kB / 298.9 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.005875, allocations: 192 / 298.9 MB, free: 44 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.005883, allocations: 4.375 kB / 298.9 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.005888, allocations: 11.94 kB / 298.9 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.298e-05/0.005921, allocations: 14.81 kB / 299 MB, free: 12 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.006149, allocations: 169.9 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.006246, allocations: 97.36 kB / 299.2 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.006266, allocations: 20.78 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.006276, allocations: 0 / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.726e-05/0.006373, allocations: 74.19 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.006374, allocations: 0 / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002886/0.006663, allocations: 134.3 kB / 299.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.00669, allocations: 51.41 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.006794, allocations: 160.3 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.006809, allocations: 29.7 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.006842, allocations: 92.12 kB / 299.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.006871, allocations: 35.72 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.006907, allocations: 21.7 kB / 299.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.006999, allocations: 326.8 kB / 300.1 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.007016, allocations: 14.77 kB / 300.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.719e-05/0.007053, allocations: 56.27 kB / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.007104, allocations: 51.94 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.007105, allocations: 0 / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.779e-05/0.007183, allocations: 74.22 kB / 300.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.007195, allocations: 11.94 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007199, allocations: 0 / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.058e-06/0.007208, allocations: 0 / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.007274, allocations: 23.92 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.007277, allocations: 0 / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.729e-05/0.007304, allocations: 7.984 kB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.007309, allocations: 4 kB / 300.4 MB, free: 14.45 MB / 298.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 (11): * Single equations (assignments): 11 * 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.848e-05/0.007368, allocations: 120.7 kB / 300.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.007381, allocations: 11.92 kB / 300.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.007484, allocations: 94.3 kB / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.007486, allocations: 0 / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.007487, allocations: 0 / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.00749, allocations: 0 / 300.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.007695, allocations: 299.5 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.007696, allocations: 3.938 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.007728, allocations: 19.98 kB / 300.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.007742, allocations: 19.92 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.007743, allocations: 0 / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.007749, allocations: 4 kB / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.00775, allocations: 0 / 300.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007752, allocations: 3.938 kB / 301 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.007853, allocations: 224.7 kB / 301.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.007869, allocations: 4 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.007908, allocations: 4 kB / 301.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.007939, allocations: 11.98 kB / 301.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.007949, allocations: 3.938 kB / 301.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.96e-05/0.007988, allocations: 52.95 kB / 301.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007988, allocations: 0 / 301.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.008162, allocations: 55.8 kB / 301.3 MB, free: 13.47 MB / 298.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 (11): * Single equations (assignments): 9 * 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.001587/0.009749, allocations: 0.7589 MB / 302.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.009857, allocations: 56.69 kB / 302.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.009866, allocations: 4 kB / 302.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.009907, allocations: 32.72 kB / 302.1 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.01008, allocations: 40.42 kB / 302.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.01049, allocations: 223.9 kB / 302.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.01052, allocations: 67.28 kB / 302.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.549e-05/0.01057, allocations: 28.73 kB / 302.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.818e-05/0.01065, allocations: 79.34 kB / 302.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01065, allocations: 0 / 302.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004239/0.01489, allocations: 2.953 MB / 305.5 MB, free: 9.605 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.032890411093831]