Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001375/0.001375, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 76.84 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 62.44 MB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003342/0.1141, allocations: 1.719 MB / 482.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1158, allocations: 1.025 MB / 483.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.1159, allocations: 0 / 483.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.1162, allocations: 43.77 kB / 483.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1166, allocations: 95.59 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.1168, allocations: 79.66 kB / 483.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.117, allocations: 103.7 kB / 483.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.703e-05/0.1171, allocations: 15.98 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.173e-05/0.1172, allocations: 47.72 kB / 483.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.1173, allocations: 31.78 kB / 483.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1173, allocations: 8 kB / 483.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1174, allocations: 39.98 kB / 483.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.667e-05/0.1175, allocations: 27.91 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.1175, allocations: 31.75 kB / 484 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1177, allocations: 123.8 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1178, allocations: 0 / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1178, allocations: 0 / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1178, allocations: 0 / 484.1 MB, free: 1.902 MB / 350.1 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.0005174/0.1183, allocations: 422.8 kB / 484.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1183, allocations: 12.03 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.1184, allocations: 16.83 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1186, allocations: 216 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1186, allocations: 4.359 kB / 484.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1187, allocations: 8.125 kB / 484.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1188, allocations: 53.67 kB / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1188, allocations: 0 / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1189, allocations: 0 / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1189, allocations: 0 / 484.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.625e-05/0.1189, allocations: 27.92 kB / 484.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.1193, allocations: 288.9 kB / 485.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1195, allocations: 54.67 kB / 485.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.1195, allocations: 20.86 kB / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1196, allocations: 0 / 485.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1198, allocations: 75.33 kB / 485.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1198, allocations: 0 / 485.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005435/0.1203, allocations: 185 kB / 485.4 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1204, allocations: 51.41 kB / 485.5 MB, free: 320 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.1206, allocations: 202.3 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1206, allocations: 33.7 kB / 485.7 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.1207, allocations: 104.1 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1207, allocations: 19.72 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.1208, allocations: 29.7 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1209, allocations: 330.7 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.592e-05/0.1209, allocations: 16 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.121, allocations: 37.7 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1211, allocations: 61.64 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1211, allocations: 0 / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.1213, allocations: 105.4 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1214, allocations: 10.64 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1214, allocations: 0 / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1214, allocations: 4.188 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.1215, allocations: 12 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1215, allocations: 3.938 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.1216, allocations: 7.938 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1216, allocations: 8.016 kB / 486.5 MB, free: 15.3 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 (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 9.191e-05/0.1217, allocations: 129.8 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1217, allocations: 7.906 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.1218, allocations: 21.39 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1218, allocations: 0 / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1218, allocations: 0 / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1218, allocations: 3.938 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.1222, allocations: 403.4 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1222, allocations: 4 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.1223, allocations: 7.938 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1223, allocations: 4 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1223, allocations: 11.92 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1223, allocations: 80 / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1223, allocations: 7.984 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.1225, allocations: 200.3 kB / 487.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.1226, allocations: 96.91 kB / 487.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1226, allocations: 4.312 kB / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.1227, allocations: 0 / 487.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1228, allocations: 11.98 kB / 487.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1228, allocations: 4 kB / 487.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1229, allocations: 168.8 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1229, allocations: 0 / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1232, allocations: 24 kB / 487.5 MB, free: 14.1 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 (8): * Single equations (assignments): 6 * 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.001032/0.1242, allocations: 457 kB / 488 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1244, allocations: 59.92 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1244, allocations: 4.062 kB / 488 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.1245, allocations: 31.98 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.1249, allocations: 22.98 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004681/0.1253, allocations: 272.7 kB / 488.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1256, allocations: 0.708 MB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.1257, allocations: 19.44 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1257, allocations: 0 / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Templates: time 0.003765/0.1294, allocations: 1.974 MB / 491.1 MB, free: 10.67 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches