Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009086/0.0009085, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009856/0.0009855, allocations: 203.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2418/0.2418, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003286, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 63.55 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002086/0.1275, allocations: 1.334 MB / 484.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1286, allocations: 0.5497 MB / 484.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.855e-05/0.1287, allocations: 0 / 484.9 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005691/0.1293, allocations: 447.2 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.1297, allocations: 283.4 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.1302, allocations: 159 kB / 485.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1305, allocations: 163.7 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1306, allocations: 12 kB / 486 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1307, allocations: 99.73 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.131, allocations: 203.6 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.131, allocations: 0 / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.1311, allocations: 27.97 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1312, allocations: 83.69 kB / 486.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1314, allocations: 120.7 kB / 486.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.1317, allocations: 242.9 kB / 486.7 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1317, allocations: 0 / 486.7 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1317, allocations: 0 / 486.7 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1317, allocations: 0 / 486.7 MB, free: 456 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008367/0.1325, allocations: 0.5836 MB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1326, allocations: 12.81 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.1327, allocations: 44.38 kB / 487.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.1331, allocations: 296.1 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1331, allocations: 12.36 kB / 487.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.1331, allocations: 4.375 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1333, allocations: 49.81 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1333, allocations: 3.938 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1333, allocations: 4 kB / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1333, allocations: 0 / 487.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1335, allocations: 23.98 kB / 487.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.134, allocations: 396.7 kB / 488.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.557e-05/0.1341, allocations: 38.5 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.1342, allocations: 20.86 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.1342, allocations: 4 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1343, allocations: 30.56 kB / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.1343, allocations: 0 / 488.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.000312/0.1346, allocations: 105.2 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.1347, allocations: 51.41 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.1356, allocations: 0.8739 MB / 489.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1356, allocations: 25.7 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.1358, allocations: 220.1 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.1358, allocations: 11.91 kB / 489.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.1359, allocations: 9.719 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.1361, allocations: 362.7 kB / 489.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.175e-05/0.1361, allocations: 15.94 kB / 489.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.1362, allocations: 15.98 kB / 489.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.1363, allocations: 28.84 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1363, allocations: 4 kB / 490 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002533/0.1366, allocations: 97.12 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1366, allocations: 12.08 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1366, allocations: 0 / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1366, allocations: 0 / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.1367, allocations: 8 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.1367, allocations: 0 / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.1368, allocations: 7.938 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1368, allocations: 0 / 490.1 MB, free: 12.89 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 (2): * Single equations (assignments): 2 * 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.0002057/0.137, allocations: 217.6 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/0.1371, allocations: 51.42 kB / 490.3 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.1373, allocations: 116.7 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1373, allocations: 0 / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1373, allocations: 0 / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1373, allocations: 0 / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.1377, allocations: 293.4 kB / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1377, allocations: 0 / 490.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.1377, allocations: 4 kB / 490.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1377, allocations: 4.031 kB / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1378, allocations: 0 / 490.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1378, allocations: 7.938 kB / 490.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1378, allocations: 7.984 kB / 490.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.138, allocations: 190.9 kB / 491 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.1381, allocations: 120.7 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1381, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.473e-05/0.1382, allocations: 4 kB / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.1382, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.1383, allocations: 0 / 491.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000768/0.139, allocations: 0.6589 MB / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.139, allocations: 0 / 491.7 MB, free: 11.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1393, allocations: 16 kB / 491.8 MB, free: 11.12 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 (2): * Single equations (assignments): 2 * 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.0009865/0.1403, allocations: 340.4 kB / 492.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1405, allocations: 31.92 kB / 492.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1405, allocations: 4.062 kB / 492.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.826e-05/0.1405, allocations: 11.98 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.1409, allocations: 26.3 kB / 492.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.1421, allocations: 0.8685 MB / 493 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.1428, allocations: 0.8224 MB / 493.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.951e-05/0.1428, allocations: 15.97 kB / 493.9 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.1429, allocations: 11.44 kB / 493.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1429, allocations: 0 / 493.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of Templates: time 0.00469/0.1476, allocations: 1.179 MB / 495.1 MB, free: 7.871 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches