Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001168, allocations: 103.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 77.53 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1325, allocations: 62.44 MB / 480 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002999/0.1356, allocations: 1.698 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1366, allocations: 0.5961 MB / 482.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.1367, allocations: 0 / 482.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.1369, allocations: 23.78 kB / 482.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1372, allocations: 83.62 kB / 482.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1376, allocations: 183.2 kB / 482.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1377, allocations: 99.69 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1379, allocations: 20 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.576e-05/0.1379, allocations: 39.84 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.138, allocations: 47.7 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1381, allocations: 8 kB / 482.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1382, allocations: 103.9 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.1383, allocations: 27.91 kB / 482.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.1384, allocations: 27.81 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.1386, allocations: 175.8 kB / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1386, allocations: 0 / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1386, allocations: 0 / 483.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1386, allocations: 3.938 kB / 483.1 MB, free: 2.125 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.0006508/0.1393, allocations: 435 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1393, allocations: 12.03 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1394, allocations: 12.84 kB / 483.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.1396, allocations: 200.8 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1396, allocations: 384 / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1397, allocations: 7.938 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.14, allocations: 95.3 kB / 483.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.14, allocations: 7.891 kB / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.14, allocations: 0 / 483.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.14, allocations: 4 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1403, allocations: 75.91 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.141, allocations: 352.7 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.1412, allocations: 70.53 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.1414, allocations: 48.94 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1414, allocations: 4 kB / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1415, allocations: 34.56 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1415, allocations: 0 / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001699/0.1432, allocations: 412.7 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1432, allocations: 81.05 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.1434, allocations: 162.5 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1435, allocations: 25.7 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.1435, allocations: 96.14 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.1436, allocations: 31.55 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.1436, allocations: 21.72 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1437, allocations: 326.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.1441, allocations: 79.91 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.1444, allocations: 93.62 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.1451, allocations: 176.9 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1451, allocations: 0 / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006766/0.1458, allocations: 213.3 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1458, allocations: 11.92 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1458, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1458, allocations: 0 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.146, allocations: 39.91 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1461, allocations: 3.984 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.1462, allocations: 27.97 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1462, allocations: 4 kB / 486.2 MB, free: 14.78 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.0001128/0.1464, allocations: 117.8 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.1464, allocations: 7.906 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007335/0.1472, allocations: 222.2 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.1472, allocations: 7.922 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1472, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1472, allocations: 0 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.1482, allocations: 0.5178 MB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1482, allocations: 3.984 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.1484, allocations: 39.95 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1485, allocations: 4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1485, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1485, allocations: 0.6562 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1485, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.1493, allocations: 315 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.1493, allocations: 85 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.1494, allocations: 8 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.1496, allocations: 23.97 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.1496, allocations: 7.984 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1496, allocations: 4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1498, allocations: 126.3 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1498, allocations: 0 / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003177/0.1501, allocations: 51.98 kB / 487.8 MB, free: 13.15 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.001217/0.1513, allocations: 499.8 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.152, allocations: 183.8 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.152, allocations: 0 / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.1524, allocations: 83.91 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.1528, allocations: 34.11 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.1534, allocations: 234.2 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1537, allocations: 0.708 MB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1539, allocations: 24.53 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.1539, allocations: 23.44 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1539, allocations: 3.938 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of Templates: time 0.006199/0.1602, allocations: 2.566 MB / 492.1 MB, free: 8.922 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches