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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001211/0.001211, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 84.16 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1049, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003146/0.108, allocations: 1.726 MB / 483.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.1103, allocations: 1.627 MB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.1104, allocations: 0 / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1107, allocations: 39.77 kB / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.111, allocations: 107.5 kB / 485 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.1112, allocations: 75.67 kB / 485 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1114, allocations: 115.7 kB / 485.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1115, allocations: 19.97 kB / 485.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.1116, allocations: 39.8 kB / 485.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.1118, allocations: 51.77 kB / 485.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.1118, allocations: 8 kB / 485.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.112, allocations: 107.9 kB / 485.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.112, allocations: 19.92 kB / 485.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.1121, allocations: 47.66 kB / 485.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.1124, allocations: 179.5 kB / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1124, allocations: 0 / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1124, allocations: 0 / 485.6 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1124, allocations: 4 kB / 485.6 MB, free: 372 kB / 350.1 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.0006318/0.1131, allocations: 431 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1131, allocations: 8.031 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.188e-05/0.1132, allocations: 12.84 kB / 486.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.1135, allocations: 216.1 kB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1135, allocations: 4.375 kB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1135, allocations: 8.125 kB / 486.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.1138, allocations: 79.36 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1138, allocations: 0 / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.1138, allocations: 8 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1138, allocations: 0 / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.914e-05/0.1139, allocations: 23.98 kB / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.1143, allocations: 308.6 kB / 486.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1145, allocations: 78.61 kB / 486.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.1146, allocations: 16.86 kB / 486.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.1146, allocations: 4 kB / 486.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.1147, allocations: 83.38 kB / 486.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.1148, allocations: 0 / 486.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005445/0.1153, allocations: 189.2 kB / 487.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1154, allocations: 89.05 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1155, allocations: 170.2 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1156, allocations: 29.69 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.1156, allocations: 96.14 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1157, allocations: 31.64 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/0.1157, allocations: 25.72 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1158, allocations: 322.8 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.1159, allocations: 31.98 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.116, allocations: 46.5 kB / 487.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1161, allocations: 69.64 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1161, allocations: 4 kB / 488 MB, free: 13.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002058/0.1163, allocations: 117.4 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1164, allocations: 4 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1164, allocations: 4.062 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1164, allocations: 4 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.1165, allocations: 15.98 kB / 488.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1165, allocations: 8.125 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.1166, allocations: 3.938 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1166, allocations: 7.938 kB / 488.1 MB, free: 13.61 MB / 366.1 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 0.0001038/0.1167, allocations: 121.8 kB / 488.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1167, allocations: 11.89 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.1168, allocations: 12.72 kB / 488.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1168, allocations: 8 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1168, allocations: 0 / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1168, allocations: 3.938 kB / 488.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.1173, allocations: 415.3 kB / 488.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1173, allocations: 3.984 kB / 488.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.973e-05/0.1173, allocations: 15.98 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1173, allocations: 0 / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1174, allocations: 11.88 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1174, allocations: 4.031 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1174, allocations: 0 / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1177, allocations: 220.1 kB / 488.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1177, allocations: 85.02 kB / 489 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.1178, allocations: 3.938 kB / 489 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.829e-05/0.1178, allocations: 8 kB / 489 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1179, allocations: 15.92 kB / 489 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.1179, allocations: 4 kB / 489 MB, free: 12.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.118, allocations: 127.2 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.118, allocations: 0 / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1183, allocations: 51.98 kB / 489.2 MB, free: 12.4 MB / 366.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: 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.001157/0.1195, allocations: 0.5431 MB / 489.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.1197, allocations: 75.84 kB / 489.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1197, allocations: 0 / 489.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.1198, allocations: 35.92 kB / 489.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.1201, allocations: 23.55 kB / 489.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.1206, allocations: 227.2 kB / 490.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.1209, allocations: 0.7002 MB / 490.8 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.346e-05/0.1209, allocations: 20.78 kB / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.707e-05/0.121, allocations: 23.42 kB / 490.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.121, allocations: 0 / 490.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005029/0.126, allocations: 2.426 MB / 493.3 MB, free: 8.48 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches