Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007453/0.0007453, allocations: 96.34 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009279/0.0009279, allocations: 203.6 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002445, allocations: 8.375 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1008, allocations: 63.56 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.0019/0.1027, allocations: 1.389 MB / 485.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.1038, allocations: 0.5807 MB / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.1038, allocations: 0 / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.1044, allocations: 447.2 kB / 486.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1048, allocations: 291.4 kB / 486.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.1052, allocations: 155 kB / 486.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000241/0.1055, allocations: 179.6 kB / 486.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.1056, allocations: 20.22 kB / 486.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1057, allocations: 111.7 kB / 486.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1059, allocations: 203.6 kB / 487.1 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.106, allocations: 4 kB / 487.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1061, allocations: 55.95 kB / 487.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1062, allocations: 79.69 kB / 487.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.1063, allocations: 132.6 kB / 487.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1065, allocations: 195.7 kB / 487.5 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1065, allocations: 4 kB / 487.5 MB, free: 348 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1065, allocations: 0 / 487.5 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1065, allocations: 0 / 487.5 MB, free: 348 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006642/0.1072, allocations: 0.607 MB / 488.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1072, allocations: 12.02 kB / 488.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.1073, allocations: 40.47 kB / 488.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1076, allocations: 300.1 kB / 488.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1076, allocations: 4.375 kB / 488.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1076, allocations: 12.22 kB / 488.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1078, allocations: 81.66 kB / 488.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1078, allocations: 4 kB / 488.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1078, allocations: 0 / 488.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.1079, allocations: 8 kB / 488.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.108, allocations: 47.97 kB / 488.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.1086, allocations: 424.6 kB / 489.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1088, allocations: 66.55 kB / 489.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/0.1089, allocations: 32.97 kB / 489.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1089, allocations: 0 / 489.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.109, allocations: 30.56 kB / 489.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/0.109, allocations: 96 / 489.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001648/0.1106, allocations: 0.5776 MB / 489.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.1107, allocations: 55.34 kB / 489.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008031/0.1115, allocations: 0.8653 MB / 490.7 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1115, allocations: 25.7 kB / 490.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1117, allocations: 220 kB / 490.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.1117, allocations: 39.45 kB / 491 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1117, allocations: 13.72 kB / 491 MB, free: 12.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1119, allocations: 362.8 kB / 491.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.1121, allocations: 59.95 kB / 491.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.1122, allocations: 71.91 kB / 491.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.1125, allocations: 141 kB / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1125, allocations: 3.938 kB / 491.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000386/0.1129, allocations: 213 kB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1129, allocations: 8 kB / 491.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.113, allocations: 3.938 kB / 491.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.007e-06/0.113, allocations: 0 / 491.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1131, allocations: 39.91 kB / 491.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1131, allocations: 0 / 491.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.1132, allocations: 19.98 kB / 491.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1132, allocations: 0 / 491.9 MB, free: 11.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001932/0.1134, allocations: 221.7 kB / 492.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.565e-05/0.1135, allocations: 47.42 kB / 492.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.114, allocations: 238 kB / 492.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.114, allocations: 3.938 kB / 492.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.114, allocations: 0 / 492.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.114, allocations: 3.984 kB / 492.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.1148, allocations: 0.6286 MB / 493 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1148, allocations: 0 / 493 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1149, allocations: 35.97 kB / 493 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.115, allocations: 3.938 kB / 493.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.115, allocations: 3.938 kB / 493.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.115, allocations: 4 kB / 493.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.115, allocations: 0 / 493.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.1154, allocations: 324.6 kB / 493.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.1155, allocations: 116.5 kB / 493.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.1155, allocations: 3.984 kB / 493.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1157, allocations: 12 kB / 493.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1157, allocations: 15.92 kB / 493.5 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.1157, allocations: 4 kB / 493.5 MB, free: 10 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006082/0.1164, allocations: 0.6511 MB / 494.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1164, allocations: 4 kB / 494.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1166, allocations: 36 kB / 494.2 MB, free: 9.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0009894/0.1176, allocations: 448.9 kB / 494.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003573/0.118, allocations: 147.8 kB / 494.8 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.118, allocations: 4 kB / 494.8 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1182, allocations: 79.89 kB / 494.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1186, allocations: 30.23 kB / 494.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1199, allocations: 1.013 MB / 495.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.1203, allocations: 0.8379 MB / 496.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.1203, allocations: 23.42 kB / 496.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1204, allocations: 0 / 496.8 MB, free: 6.832 MB / 366.1 MB Notification: Performance of Templates: time 0.007221/0.1276, allocations: 4.149 MB / 0.4892 GB, free: 2.68 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches