Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 82.08 kB / 418.3 MB, free: 19.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1266, allocations: 62.43 MB / 480.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003445/0.1301, allocations: 1.662 MB / 482.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1319, allocations: 1.179 MB / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.132, allocations: 0 / 483.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.1323, allocations: 27.78 kB / 483.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1327, allocations: 83.62 kB / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.1331, allocations: 135.1 kB / 483.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1332, allocations: 71.78 kB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1333, allocations: 15.98 kB / 483.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.1334, allocations: 19.92 kB / 483.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1336, allocations: 47.77 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1336, allocations: 8 kB / 483.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.1339, allocations: 103.9 kB / 484 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.1339, allocations: 11.98 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.134, allocations: 27.8 kB / 484.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.1343, allocations: 147.6 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1343, allocations: 0 / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1343, allocations: 0 / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1343, allocations: 0 / 484.2 MB, free: 1.793 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.0005559/0.1349, allocations: 415.4 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1349, allocations: 11.97 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/0.135, allocations: 8.844 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1352, allocations: 187.2 kB / 484.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1352, allocations: 4.375 kB / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1352, allocations: 384 / 484.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.1354, allocations: 87.48 kB / 484.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1355, allocations: 3.984 kB / 484.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1355, allocations: 4 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1355, allocations: 0 / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.1356, allocations: 39.89 kB / 485 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.136, allocations: 292.7 kB / 485.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.1362, allocations: 46.56 kB / 485.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.1363, allocations: 28.92 kB / 485.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1363, allocations: 3.938 kB / 485.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1363, allocations: 34.5 kB / 485.4 MB, free: 496 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1364, allocations: 3.938 kB / 485.4 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008034/0.1372, allocations: 213.3 kB / 485.6 MB, free: 272 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.1372, allocations: 77.11 kB / 485.6 MB, free: 176 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1374, allocations: 148.3 kB / 485.8 MB, free: 20 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1375, allocations: 25.7 kB / 485.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.1375, allocations: 96.12 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1376, allocations: 27.64 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.1376, allocations: 21.72 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1377, allocations: 322.8 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1378, allocations: 27.97 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.138, allocations: 49.69 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.1382, allocations: 72.84 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1382, allocations: 0 / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002862/0.1385, allocations: 113.5 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1385, allocations: 4 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1385, allocations: 0 / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1386, allocations: 4 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1387, allocations: 23.97 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1387, allocations: 0 / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.1388, allocations: 15.94 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.1388, allocations: 0 / 486.6 MB, free: 15.19 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 0.0001026/0.1389, allocations: 121.8 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.1389, allocations: 7.906 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.1393, allocations: 130.3 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.1393, allocations: 0 / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1393, allocations: 0 / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1393, allocations: 3.938 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.1399, allocations: 390.9 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1399, allocations: 4 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-05/0.14, allocations: 31.91 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.14, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.14, allocations: 3.938 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.14, allocations: 0 / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.14, allocations: 0 / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.1403, allocations: 211.5 kB / 487.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.1404, allocations: 84.95 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1404, allocations: 11.92 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.1405, allocations: 8 kB / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1406, allocations: 7.984 kB / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.1406, allocations: 0 / 487.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.1407, allocations: 121.5 kB / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1407, allocations: 0 / 487.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.141, allocations: 44 kB / 487.7 MB, free: 13.93 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.001128/0.1421, allocations: 491.1 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.1424, allocations: 79.94 kB / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1425, allocations: 0 / 488.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1426, allocations: 39.91 kB / 488.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1429, allocations: 31.45 kB / 488.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.1435, allocations: 212 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1438, allocations: 0.7002 MB / 489.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.1439, allocations: 19.42 kB / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1439, allocations: 0 / 489.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.004656/0.1485, allocations: 2.088 MB / 491.4 MB, free: 10.39 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches