Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2296/0.2296, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 75.31 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1285, allocations: 62.45 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003614/0.1321, allocations: 1.665 MB / 482.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1341, allocations: 1.175 MB / 483.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.628e-05/0.1342, allocations: 4 kB / 483.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.1344, allocations: 19.86 kB / 483.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003988/0.1349, allocations: 83.61 kB / 483.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.1353, allocations: 143.3 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1355, allocations: 67.78 kB / 483.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1356, allocations: 15.98 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.1357, allocations: 27.91 kB / 483.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.1358, allocations: 43.78 kB / 483.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1359, allocations: 4 kB / 483.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.1361, allocations: 103.9 kB / 484 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.315e-05/0.1362, allocations: 15.97 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.1362, allocations: 27.81 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1365, allocations: 147.6 kB / 484.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1366, allocations: 3.938 kB / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1366, allocations: 0 / 484.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1366, allocations: 0 / 484.2 MB, free: 1.734 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.0005946/0.1372, allocations: 415.4 kB / 484.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1372, allocations: 15.97 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.1373, allocations: 4.844 kB / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1375, allocations: 188.3 kB / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1375, allocations: 384 / 484.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1376, allocations: 4.375 kB / 484.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1378, allocations: 79.45 kB / 484.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1378, allocations: 4 kB / 484.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1378, allocations: 0 / 484.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1378, allocations: 4 kB / 484.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.138, allocations: 31.97 kB / 485 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.1384, allocations: 296.6 kB / 485.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.1386, allocations: 54.5 kB / 485.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.504e-05/0.1386, allocations: 20.94 kB / 485.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1387, allocations: 4 kB / 485.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1387, allocations: 30.56 kB / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.977e-06/0.1387, allocations: 0 / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008454/0.1396, allocations: 213.4 kB / 485.6 MB, free: 228 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1396, allocations: 81.11 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.1398, allocations: 148 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1398, allocations: 25.7 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.1399, allocations: 96.12 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.14, allocations: 23.66 kB / 485.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.14, allocations: 21.72 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1401, allocations: 318.8 kB / 486.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.1403, allocations: 31.97 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.1404, allocations: 49.75 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1406, allocations: 80.77 kB / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1406, allocations: 0 / 486.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002873/0.1409, allocations: 113.5 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.141, allocations: 8 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.141, allocations: 320 / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.141, allocations: 4 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1411, allocations: 19.98 kB / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1411, allocations: 0 / 486.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.1412, allocations: 11.92 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1412, allocations: 7.984 kB / 486.6 MB, free: 15.14 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 (7): * Single equations (assignments): 7 * 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.199e-05/0.1413, allocations: 117.8 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1414, allocations: 7.906 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.1417, allocations: 126.3 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1418, allocations: 4 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1418, allocations: 0 / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1418, allocations: 3.938 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.1423, allocations: 398.4 kB / 487.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1424, allocations: 0 / 487.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.223e-05/0.1425, allocations: 27.98 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1425, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1425, allocations: 7.938 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1425, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1425, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.1428, allocations: 215.3 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.1429, allocations: 85.02 kB / 487.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.143, allocations: 7.875 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1431, allocations: 15.98 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1431, allocations: 0 / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1431, allocations: 7.984 kB / 487.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.1434, allocations: 113.3 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1434, allocations: 4 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1437, allocations: 39.98 kB / 487.7 MB, free: 13.88 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 (7): * Single equations (assignments): 7 * 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.001184/0.1449, allocations: 481.5 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.1452, allocations: 87.86 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1452, allocations: 3.938 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1453, allocations: 43.97 kB / 488.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1457, allocations: 29.53 kB / 488.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.1463, allocations: 203.7 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1465, allocations: 0.7041 MB / 489.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.1466, allocations: 15.44 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1466, allocations: 3.938 kB / 489.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of Templates: time 0.004619/0.1512, allocations: 2.08 MB / 491.4 MB, free: 10.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches