Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001472/0.001472, allocations: 103.5 kB / 17.2 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 205.8 kB / 18.13 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.3 MB, free: 9.156 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.236/0.236, allocations: 46.11 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 81.42 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1289, allocations: 62.44 MB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003267/0.1322, allocations: 1.723 MB / 481 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1339, allocations: 1.155 MB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.134, allocations: 4 kB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1342, allocations: 15.92 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1345, allocations: 71.75 kB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1348, allocations: 119.8 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.135, allocations: 67.78 kB / 482.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.1351, allocations: 12 kB / 482.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.1351, allocations: 27.91 kB / 482.5 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.1353, allocations: 35.78 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1353, allocations: 0 / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.1355, allocations: 95.88 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.1355, allocations: 23.97 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/0.1356, allocations: 23.8 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1358, allocations: 139.7 kB / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1358, allocations: 0 / 482.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1358, allocations: 7.875 kB / 482.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1358, allocations: 3.938 kB / 482.8 MB, free: 2.188 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.0005099/0.1364, allocations: 407.4 kB / 483.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1364, allocations: 12.88 kB / 483.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1364, allocations: 8.844 kB / 483.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1366, allocations: 192.3 kB / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1367, allocations: 384 / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1367, allocations: 4.375 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1369, allocations: 75.45 kB / 483.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1369, allocations: 3.984 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1369, allocations: 8 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1369, allocations: 0 / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.1371, allocations: 35.97 kB / 483.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/0.1374, allocations: 296.7 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.1376, allocations: 46.5 kB / 483.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.189e-05/0.1377, allocations: 24.94 kB / 483.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1377, allocations: 7.984 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1377, allocations: 30.56 kB / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1377, allocations: 0 / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008091/0.1385, allocations: 205.2 kB / 484.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1386, allocations: 85.05 kB / 484.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1388, allocations: 144 kB / 484.4 MB, free: 444 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1388, allocations: 29.7 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.1389, allocations: 96.12 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.1389, allocations: 19.66 kB / 484.5 MB, free: 288 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1389, allocations: 21.7 kB / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1391, allocations: 326.8 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1392, allocations: 31.97 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1393, allocations: 41.69 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.1395, allocations: 80.91 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1395, allocations: 3.938 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002527/0.1398, allocations: 109.5 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1398, allocations: 4 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1398, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1398, allocations: 0 / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.14, allocations: 23.98 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.14, allocations: 3.984 kB / 485.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.14, allocations: 15.94 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1401, allocations: 0 / 485.2 MB, free: 15.6 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.0001052/0.1402, allocations: 117.8 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.1402, allocations: 7.906 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.1405, allocations: 130.9 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1405, allocations: 3.938 kB / 485.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1406, allocations: 7.984 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.1406, allocations: 3.938 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.1411, allocations: 394.5 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1411, allocations: 4 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.1412, allocations: 23.97 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1412, allocations: 0 / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1412, allocations: 7.938 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1412, allocations: 0 / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1412, allocations: 0 / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.1415, allocations: 211.4 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1416, allocations: 85.02 kB / 486.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1416, allocations: 7.922 kB / 486.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.1417, allocations: 15.88 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1418, allocations: 7.984 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1418, allocations: 4 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.378e-05/0.1419, allocations: 113.3 kB / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1419, allocations: 0 / 486.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1422, allocations: 40 kB / 486.3 MB, free: 14.34 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.001125/0.1433, allocations: 0.4913 MB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.1436, allocations: 71.94 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1436, allocations: 0 / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1437, allocations: 56.03 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.144, allocations: 19.89 kB / 487 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.1445, allocations: 215.7 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1448, allocations: 0.6926 MB / 487.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.1449, allocations: 15.98 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.355e-05/0.1449, allocations: 19.42 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.145, allocations: 0 / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of Templates: time 0.004202/0.1492, allocations: 1.831 MB / 489.7 MB, free: 11.04 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches