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.001332/0.001332, allocations: 111.6 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 77.19 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1266, allocations: 62.44 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.004813/0.1314, allocations: 1.754 MB / 481.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.1329, allocations: 0.5689 MB / 482.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.1331, allocations: 4 kB / 482.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.1334, allocations: 15.92 kB / 482.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.1337, allocations: 67.75 kB / 482.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.1343, allocations: 115.2 kB / 482.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.1345, allocations: 91.69 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1347, allocations: 19.98 kB / 482.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1348, allocations: 35.86 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1349, allocations: 47.75 kB / 482.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.1349, allocations: 4 kB / 482.7 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.1352, allocations: 95.88 kB / 482.7 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.1353, allocations: 23.92 kB / 482.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.1354, allocations: 27.8 kB / 482.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.1357, allocations: 124 kB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1358, allocations: 4 kB / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1358, allocations: 0 / 482.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1358, allocations: 0 / 482.9 MB, free: 2.73 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.0009268/0.1367, allocations: 435.1 kB / 483.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1368, allocations: 8.031 kB / 483.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.1369, allocations: 12.75 kB / 483.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1372, allocations: 196.1 kB / 483.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1372, allocations: 8.375 kB / 483.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.1372, allocations: 11.94 kB / 483.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1377, allocations: 95.34 kB / 483.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1377, allocations: 3.938 kB / 483.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1377, allocations: 4 kB / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.1377, allocations: 0 / 483.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.1382, allocations: 67.92 kB / 483.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.1388, allocations: 308.7 kB / 484 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.1392, allocations: 74.47 kB / 484.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.1394, allocations: 44.94 kB / 484.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.1395, allocations: 4 kB / 484.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1395, allocations: 30.56 kB / 484.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.1395, allocations: 0 / 484.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.002177/0.1417, allocations: 384.8 kB / 484.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.1418, allocations: 81.05 kB / 484.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.142, allocations: 158.4 kB / 484.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.1421, allocations: 29.7 kB / 484.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.1422, allocations: 92.23 kB / 484.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.1422, allocations: 43.55 kB / 485 MB, free: 476 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.602e-05/0.1423, allocations: 29.66 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1425, allocations: 318.8 kB / 485.3 MB, free: 112 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004595/0.1429, allocations: 67.92 kB / 485.4 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.1434, allocations: 89.62 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008557/0.1443, allocations: 148.8 kB / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1443, allocations: 0 / 485.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009647/0.1453, allocations: 185.4 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.1453, allocations: 8 kB / 485.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1454, allocations: 7.938 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1454, allocations: 0 / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.1457, allocations: 47.88 kB / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1458, allocations: 0 / 485.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.146, allocations: 27.95 kB / 485.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.146, allocations: 4 kB / 485.9 MB, free: 15.52 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.000133/0.1462, allocations: 121.8 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.1463, allocations: 7.906 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009982/0.1473, allocations: 210.2 kB / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1473, allocations: 8 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1473, allocations: 0 / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1473, allocations: 0 / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.1486, allocations: 498.2 kB / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1486, allocations: 0 / 486.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.1489, allocations: 40.27 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1489, allocations: 0 / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.149, allocations: 4 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.149, allocations: 4 kB / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.149, allocations: 0 / 486.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009774/0.15, allocations: 287.2 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.1501, allocations: 89 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.1501, allocations: 4 kB / 487.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.1504, allocations: 31.91 kB / 487.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.028e-05/0.1505, allocations: 7.984 kB / 487.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1505, allocations: 0 / 487.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.1507, allocations: 122.8 kB / 487.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1507, allocations: 0 / 487.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004893/0.1512, allocations: 47.98 kB / 487.3 MB, free: 13.96 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.001682/0.1529, allocations: 0.5028 MB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009263/0.1538, allocations: 155.8 kB / 488 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1538, allocations: 4 kB / 488 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.1543, allocations: 79.86 kB / 488.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.1548, allocations: 19.98 kB / 488.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006702/0.1555, allocations: 253.5 kB / 488.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1559, allocations: 0.7004 MB / 489 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.156, allocations: 15.44 kB / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.156, allocations: 384 / 489.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of Templates: time 0.006242/0.1623, allocations: 2.498 MB / 491.6 MB, free: 9.852 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