Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 110.8 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.001361, allocations: 213.8 kB / 18.27 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.572/1.572, allocations: 227.4 MB / 246.5 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2371/0.2371, allocations: 46.14 MB / 343.8 MB, free: 11.69 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 82.95 kB / 417.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1265, allocations: 62.45 MB / 479.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003367/0.1299, allocations: 1.736 MB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.131, allocations: 0.5806 MB / 481.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.1311, allocations: 3.938 kB / 481.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007076/0.1318, allocations: 455.2 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.1324, allocations: 283.4 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.1329, allocations: 162.6 kB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.1332, allocations: 187.6 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.1333, allocations: 16.23 kB / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.1335, allocations: 119.7 kB / 483.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.1338, allocations: 227.5 kB / 483.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1338, allocations: 4 kB / 483.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1339, allocations: 43.98 kB / 483.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.1341, allocations: 95.67 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.927e-05/0.1342, allocations: 106.9 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.1345, allocations: 270.9 kB / 483.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1345, allocations: 0 / 483.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1345, allocations: 0 / 483.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1346, allocations: 4 kB / 483.8 MB, free: 1.27 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.0008641/0.1354, allocations: 0.6592 MB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1355, allocations: 12.02 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/0.1356, allocations: 44.38 kB / 484.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/0.1359, allocations: 300.1 kB / 484.8 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1359, allocations: 384 / 484.8 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.136, allocations: 4.375 kB / 484.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1362, allocations: 81.72 kB / 484.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1362, allocations: 0 / 484.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1362, allocations: 0 / 484.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1363, allocations: 4 kB / 484.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1364, allocations: 43.91 kB / 485 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006663/0.1371, allocations: 424.5 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.1374, allocations: 66.53 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.128e-05/0.1375, allocations: 24.97 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1375, allocations: 3.984 kB / 485.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1375, allocations: 30.56 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1376, allocations: 0 / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001579/0.1391, allocations: 0.4999 MB / 486 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1392, allocations: 59.28 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009149/0.1401, allocations: 0.8653 MB / 486.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.1402, allocations: 25.7 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1404, allocations: 223.9 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.1404, allocations: 31.55 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.1405, allocations: 29.7 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.1407, allocations: 358.8 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1408, allocations: 55.95 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.141, allocations: 51.95 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.1413, allocations: 128.8 kB / 487.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1413, allocations: 0 / 487.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003778/0.1417, allocations: 196.9 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1417, allocations: 4 kB / 488 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1417, allocations: 3.984 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1418, allocations: 8 kB / 488 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.1419, allocations: 27.92 kB / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1419, allocations: 0 / 488 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.142, allocations: 11.98 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.142, allocations: 4 kB / 488.1 MB, free: 12.8 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.0002157/0.1422, allocations: 221.7 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.1423, allocations: 43.44 kB / 488.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.1428, allocations: 237.3 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1428, allocations: 3.938 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1428, allocations: 0 / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1428, allocations: 0 / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.1437, allocations: 0.6014 MB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1437, allocations: 0 / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1438, allocations: 24.08 kB / 489.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1438, allocations: 3.938 kB / 489.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1438, allocations: 8 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1438, allocations: 4.125 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1438, allocations: 4 kB / 489.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.1443, allocations: 305.2 kB / 489.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.1444, allocations: 112.5 kB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1444, allocations: 7.984 kB / 489.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1445, allocations: 12 kB / 489.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.1446, allocations: 15.92 kB / 489.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1446, allocations: 0 / 489.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000676/0.1453, allocations: 0.6589 MB / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1453, allocations: 0 / 490.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1456, allocations: 32 kB / 490.3 MB, free: 10.41 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.001656/0.1473, allocations: 448.4 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.1476, allocations: 143.8 kB / 490.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1477, allocations: 4 kB / 490.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1478, allocations: 67.89 kB / 491 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.1483, allocations: 36.61 kB / 491 MB, free: 9.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1496, allocations: 0.9689 MB / 492 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.1502, allocations: 0.8377 MB / 492.8 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.952e-05/0.1503, allocations: 32.52 kB / 492.8 MB, free: 7.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.1503, allocations: 19.44 kB / 492.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1503, allocations: 0 / 492.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of Templates: time 0.006159/0.1565, allocations: 1.881 MB / 494.7 MB, free: 6.086 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches