Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001557/0.001557, allocations: 111.4 kB / 17.99 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 213.8 kB / 18.93 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.12 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 80.16 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1106, allocations: 62.45 MB / 480.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003281/0.1139, allocations: 1.754 MB / 482 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.115, allocations: 0.565 MB / 482.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.115, allocations: 0 / 482.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1153, allocations: 27.84 kB / 482.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1156, allocations: 67.77 kB / 482.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1159, allocations: 119.3 kB / 482.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1161, allocations: 91.7 kB / 482.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1162, allocations: 27.97 kB / 482.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.1163, allocations: 31.86 kB / 482.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.583e-05/0.1163, allocations: 43.78 kB / 482.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1164, allocations: 8 kB / 482.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1166, allocations: 103.9 kB / 483.1 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.1166, allocations: 23.97 kB / 483.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1167, allocations: 35.73 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1169, allocations: 116.1 kB / 483.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1169, allocations: 4 kB / 483.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1169, allocations: 0 / 483.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1169, allocations: 0 / 483.2 MB, free: 2.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006496/0.1176, allocations: 435.1 kB / 483.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1176, allocations: 8.031 kB / 483.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.1177, allocations: 16.75 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.1179, allocations: 196.7 kB / 483.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1179, allocations: 384 / 483.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.1179, allocations: 11.94 kB / 483.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.1182, allocations: 91.36 kB / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1182, allocations: 0 / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1183, allocations: 0 / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1183, allocations: 0 / 484 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.1186, allocations: 71.92 kB / 484 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.119, allocations: 312.6 kB / 484.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1193, allocations: 74.53 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1195, allocations: 44.94 kB / 484.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.1195, allocations: 0 / 484.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1195, allocations: 38.5 kB / 484.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.685e-06/0.1195, allocations: 3.984 kB / 484.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001591/0.1211, allocations: 384.8 kB / 484.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.1212, allocations: 85.05 kB / 485 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1214, allocations: 158 kB / 485.1 MB, free: 456 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1214, allocations: 25.7 kB / 485.1 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.1215, allocations: 92.14 kB / 485.2 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.1216, allocations: 31.55 kB / 485.3 MB, free: 296 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.1216, allocations: 33.72 kB / 485.3 MB, free: 256 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1218, allocations: 318.8 kB / 485.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.1221, allocations: 71.92 kB / 485.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.1224, allocations: 97.52 kB / 485.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.1229, allocations: 140.7 kB / 485.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1229, allocations: 4.031 kB / 485.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006297/0.1236, allocations: 193.4 kB / 486.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1236, allocations: 4 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1236, allocations: 3.938 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1236, allocations: 4 kB / 486.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.1239, allocations: 39.95 kB / 486.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1239, allocations: 384 / 486.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.1241, allocations: 19.97 kB / 486.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1241, allocations: 4.375 kB / 486.2 MB, free: 15.34 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 (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.0001144/0.1242, allocations: 129.8 kB / 486.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.1242, allocations: 15.84 kB / 486.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006656/0.1249, allocations: 206 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1249, allocations: 4 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1249, allocations: 4 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1249, allocations: 0 / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009721/0.1259, allocations: 0.4905 MB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1259, allocations: 0 / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.1261, allocations: 35.95 kB / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1261, allocations: 0 / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.1262, allocations: 8 kB / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1262, allocations: 0 / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1262, allocations: 0 / 487.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006357/0.1268, allocations: 283.2 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1269, allocations: 89 kB / 487.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.1269, allocations: 4 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.1271, allocations: 27.97 kB / 487.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1272, allocations: 15.92 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.1272, allocations: 0 / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1273, allocations: 119.2 kB / 487.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1273, allocations: 0 / 487.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.1276, allocations: 55.92 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.001724/0.1293, allocations: 497.1 kB / 488.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006682/0.13, allocations: 163.8 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.13, allocations: 0 / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.1303, allocations: 87.86 kB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1308, allocations: 23.55 kB / 488.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.1313, allocations: 260 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1317, allocations: 0.7002 MB / 489.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.034e-05/0.1318, allocations: 15.44 kB / 489.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1318, allocations: 0 / 489.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Templates: time 0.004982/0.1367, allocations: 2.513 MB / 491.9 MB, free: 9.648 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches