Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009015/0.0009015, allocations: 94.95 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009712/0.0009713, allocations: 193.6 kB / 17.91 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2557/0.2557, allocations: 46.18 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002788, allocations: 8.219 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 63.57 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002388/0.1369, allocations: 1.373 MB / 483.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.1379, allocations: 0.5148 MB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.138, allocations: 0 / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.1382, allocations: 39.89 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1385, allocations: 75.73 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.1388, allocations: 115.8 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.1389, allocations: 67.83 kB / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.75e-05/0.139, allocations: 16.22 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.1391, allocations: 27.84 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.1392, allocations: 31.84 kB / 484.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1392, allocations: 8 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.1393, allocations: 39.98 kB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1394, allocations: 19.92 kB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.1394, allocations: 37.62 kB / 484.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1395, allocations: 75.89 kB / 484.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1396, allocations: 0 / 484.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1396, allocations: 0 / 484.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1396, allocations: 0 / 484.8 MB, free: 2.059 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005735/0.1401, allocations: 403.2 kB / 485.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1402, allocations: 12.02 kB / 485.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.1402, allocations: 11.84 kB / 485.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1404, allocations: 202.9 kB / 485.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.1404, allocations: 0 / 485.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1405, allocations: 7.984 kB / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1407, allocations: 65.61 kB / 485.5 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1407, allocations: 4 kB / 485.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.1407, allocations: 4 kB / 485.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1407, allocations: 4 kB / 485.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1409, allocations: 43.91 kB / 485.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.1413, allocations: 304.7 kB / 485.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.1416, allocations: 66.58 kB / 485.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.1417, allocations: 28.97 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1417, allocations: 11.97 kB / 486 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1417, allocations: 38.56 kB / 486 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.1417, allocations: 0 / 486 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001368/0.1431, allocations: 464.8 kB / 486.5 MB, free: 256 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1431, allocations: 51.41 kB / 486.5 MB, free: 192 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.1434, allocations: 170.5 kB / 486.7 MB, free: 12 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.1435, allocations: 29.7 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1436, allocations: 100 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1436, allocations: 43.39 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/0.1436, allocations: 11.94 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1438, allocations: 318.8 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.144, allocations: 55.91 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1441, allocations: 51.97 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1443, allocations: 51.97 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1443, allocations: 0 / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003727/0.1447, allocations: 157.9 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1447, allocations: 4 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1447, allocations: 0 / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.1447, allocations: 7.891 kB / 487.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1449, allocations: 40.47 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1449, allocations: 3.984 kB / 487.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.1449, allocations: 15.98 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.145, allocations: 4 kB / 487.6 MB, free: 15.11 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002054/0.1452, allocations: 122.4 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.1452, allocations: 7.906 kB / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.1456, allocations: 186.3 kB / 487.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1456, allocations: 8 kB / 487.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.1456, allocations: 7.938 kB / 487.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1456, allocations: 3.938 kB / 487.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.1463, allocations: 480.1 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1463, allocations: 0 / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1464, allocations: 39.86 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1465, allocations: 4 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1465, allocations: 8 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1465, allocations: 4 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1465, allocations: 0 / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.1468, allocations: 269 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.1469, allocations: 85.02 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1469, allocations: 7.953 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.147, allocations: 15.98 kB / 488.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1471, allocations: 11.98 kB / 488.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.1471, allocations: 8 kB / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.485e-05/0.1472, allocations: 130.5 kB / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1472, allocations: 0 / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1475, allocations: 31.98 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009837/0.1485, allocations: 451.5 kB / 489.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.1488, allocations: 119.9 kB / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1488, allocations: 0 / 489.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.149, allocations: 71.89 kB / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1493, allocations: 16.12 kB / 489.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.15, allocations: 318.8 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.1504, allocations: 0.7004 MB / 490.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.915e-05/0.1505, allocations: 24.53 kB / 490.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.1505, allocations: 11.44 kB / 490.7 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1505, allocations: 0 / 490.7 MB, free: 12 MB / 366.1 MB Notification: Performance of Templates: time 0.004037/0.1546, allocations: 1.42 MB / 492.1 MB, free: 10.58 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches