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.001745/0.001745, allocations: 117.9 kB / 17.99 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002044/0.002044, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 247.1 MB, free: 8.922 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.12 MB / 344.5 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 80.27 kB / 417.8 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1384, allocations: 62.45 MB / 480.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.005061/0.1435, allocations: 1.735 MB / 482 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.145, allocations: 0.5494 MB / 482.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.1451, allocations: 0 / 482.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1455, allocations: 47.86 kB / 482.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004897/0.146, allocations: 83.73 kB / 482.6 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.1466, allocations: 115.8 kB / 482.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.1468, allocations: 79.75 kB / 482.8 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.147, allocations: 20.23 kB / 482.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.1471, allocations: 35.84 kB / 482.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.1472, allocations: 43.83 kB / 482.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.1472, allocations: 4 kB / 482.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1474, allocations: 51.92 kB / 483 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.073e-05/0.1475, allocations: 23.91 kB / 483 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.1476, allocations: 31.75 kB / 483 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.1478, allocations: 83.88 kB / 483.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1478, allocations: 4 kB / 483.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1479, allocations: 0 / 483.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.1479, allocations: 0 / 483.1 MB, free: 2.598 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.0007352/0.1486, allocations: 407.3 kB / 483.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1487, allocations: 12.03 kB / 483.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.1487, allocations: 8.844 kB / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.149, allocations: 196.6 kB / 483.7 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1491, allocations: 4.375 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1491, allocations: 7.938 kB / 483.7 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.1494, allocations: 65.67 kB / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1494, allocations: 0 / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1494, allocations: 0 / 483.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.1494, allocations: 4 kB / 483.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.1497, allocations: 43.83 kB / 483.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.1502, allocations: 308.7 kB / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.1506, allocations: 50.66 kB / 484.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1507, allocations: 32.91 kB / 484.2 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1507, allocations: 7.984 kB / 484.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.1508, allocations: 30.56 kB / 484.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1508, allocations: 7.938 kB / 484.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002087/0.1529, allocations: 388.8 kB / 484.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.153, allocations: 51.41 kB / 484.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.1532, allocations: 173.5 kB / 484.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1533, allocations: 25.7 kB / 484.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1534, allocations: 116 kB / 485 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.1535, allocations: 27.56 kB / 485 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.1536, allocations: 25.7 kB / 485.1 MB, free: 452 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1538, allocations: 322.8 kB / 485.4 MB, free: 120 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.154, allocations: 39.97 kB / 485.4 MB, free: 80 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.1542, allocations: 48.47 kB / 485.5 MB, free: 32 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.1546, allocations: 109 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1546, allocations: 0 / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000475/0.1551, allocations: 145.4 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1552, allocations: 8 kB / 485.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1552, allocations: 7.938 kB / 485.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1552, allocations: 4 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.1554, allocations: 31.91 kB / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1554, allocations: 0 / 485.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.1555, allocations: 11.98 kB / 485.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1555, allocations: 0 / 485.8 MB, free: 15.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.1557, allocations: 125.8 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.1558, allocations: 7.906 kB / 485.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.1563, allocations: 170.2 kB / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1563, allocations: 0 / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1564, allocations: 0 / 486.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.1564, allocations: 7.922 kB / 486.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1574, allocations: 476 kB / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1574, allocations: 0 / 486.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.1576, allocations: 28.02 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.1576, allocations: 3.938 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1577, allocations: 7.984 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1577, allocations: 0 / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1577, allocations: 4.062 kB / 486.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.1582, allocations: 252.9 kB / 486.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.1583, allocations: 92.91 kB / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.1584, allocations: 0 / 486.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1585, allocations: 19.98 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.1586, allocations: 4 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1586, allocations: 4 kB / 487 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.1588, allocations: 135.2 kB / 487.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1588, allocations: 0 / 487.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004342/0.1592, allocations: 28 kB / 487.1 MB, free: 14.25 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 (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.00231/0.1616, allocations: 460.3 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.1621, allocations: 111.9 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1621, allocations: 4 kB / 487.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.1624, allocations: 59.91 kB / 487.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.163, allocations: 23.98 kB / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/0.1639, allocations: 321.6 kB / 488.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.1644, allocations: 0.7002 MB / 488.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.1645, allocations: 19.42 kB / 488.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1645, allocations: 8 kB / 488.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of Templates: time 0.004166/0.1687, allocations: 1.9 MB / 490.7 MB, free: 10.77 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches