Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001633/0.001633, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002245/0.002245, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2124/0.2124, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 80.3 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1371, allocations: 62.43 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002911/0.14, allocations: 1.715 MB / 481.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.1408, allocations: 0.6644 MB / 482.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.065e-05/0.1409, allocations: 0 / 482.3 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.1411, allocations: 31.91 kB / 482.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.1413, allocations: 39.83 kB / 482.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.618e-06/0.1413, allocations: 0 / 482.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1414, allocations: 47.83 kB / 482.4 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.704e-05/0.1415, allocations: 11.98 kB / 482.4 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.944e-05/0.1415, allocations: 11.94 kB / 482.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.1416, allocations: 15.92 kB / 482.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1416, allocations: 4 kB / 482.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.793e-05/0.1416, allocations: 8 kB / 482.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1417, allocations: 19.97 kB / 482.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.1417, allocations: 23.81 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.1418, allocations: 52.2 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1418, allocations: 3.938 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1419, allocations: 0 / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1419, allocations: 0 / 482.6 MB, free: 3.051 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003331/0.1422, allocations: 363.3 kB / 482.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1422, allocations: 16.81 kB / 482.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1423, allocations: 8.828 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1424, allocations: 176.2 kB / 483.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1424, allocations: 384 / 483.1 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.1425, allocations: 4.375 kB / 483.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1426, allocations: 127.3 kB / 483.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1426, allocations: 192 / 483.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1427, allocations: 3.938 kB / 483.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.964e-05/0.1427, allocations: 19.98 kB / 483.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.594e-05/0.1428, allocations: 51.84 kB / 483.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.1434, allocations: 0.8906 MB / 484.2 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/0.1435, allocations: 165.1 kB / 484.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.1435, allocations: 80.14 kB / 484.5 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1436, allocations: 83.22 kB / 484.5 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.1436, allocations: 109.8 kB / 484.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1436, allocations: 0 / 484.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.677e-05/0.1437, allocations: 45.62 kB / 484.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.1438, allocations: 126.7 kB / 484.8 MB, free: 0.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.144, allocations: 186 kB / 485 MB, free: 400 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.144, allocations: 29.7 kB / 485 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.1441, allocations: 143.2 kB / 485.2 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.1441, allocations: 7.984 kB / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.1442, allocations: 41.62 kB / 485.2 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1443, allocations: 322.8 kB / 485.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-05/0.1444, allocations: 23.98 kB / 485.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1445, allocations: 161 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1447, allocations: 204.9 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1447, allocations: 3.984 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003197/0.145, allocations: 197.3 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.145, allocations: 8 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.145, allocations: 7.938 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.1451, allocations: 12 kB / 486.1 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1452, allocations: 39.92 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1452, allocations: 7.984 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.405e-05/0.1453, allocations: 19.78 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1453, allocations: 16.41 kB / 486.2 MB, free: 15.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001251/0.1455, allocations: 213 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.281e-05/0.1455, allocations: 124.7 kB / 486.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.244e-05/0.1456, allocations: 116.9 kB / 486.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.629e-05/0.1457, allocations: 180.3 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-05/0.1458, allocations: 184.2 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.415e-05/0.1458, allocations: 184.2 kB / 487.2 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.1461, allocations: 421.2 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.374e-05/0.1461, allocations: 108.9 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.1462, allocations: 105 kB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.083e-05/0.1462, allocations: 180.2 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.1463, allocations: 184.3 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.883e-05/0.1464, allocations: 180.2 kB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.465e-05/0.1464, allocations: 184.2 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.1466, allocations: 307.7 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.1467, allocations: 189.9 kB / 489 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.1468, allocations: 188.2 kB / 489.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.1468, allocations: 105 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.1469, allocations: 184.2 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/0.147, allocations: 104.9 kB / 489.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.569e-05/0.1471, allocations: 131.2 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1471, allocations: 0 / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1474, allocations: 16 kB / 489.7 MB, free: 11.28 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 (0): * Single equations (assignments): 0 * 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.0004614/0.1478, allocations: 275.7 kB / 490 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.148, allocations: 69.25 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.148, allocations: 3.938 kB / 490.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.115e-06/0.148, allocations: 4 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.1483, allocations: 0.5303 MB / 490.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.1487, allocations: 300.5 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.1489, allocations: 0.7047 MB / 491.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.149, allocations: 15.44 kB / 491.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.149, allocations: 0 / 491.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of Templates: time 0.002453/0.1514, allocations: 1.276 MB / 492.9 MB, free: 8.086 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches