Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008322/0.0008323, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009217/0.0009217, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.8 MB / 246.8 MB, free: 11.47 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.2236/0.2236, allocations: 46.2 MB / 345.3 MB, free: 11.38 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.0003006/0.0003006, allocations: 8 kB / 419.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1259, allocations: 63.56 MB / 483.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002174/0.1281, allocations: 1.366 MB / 484.5 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1294, allocations: 0.573 MB / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.1295, allocations: 0 / 485.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.1302, allocations: 459.1 kB / 485.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.1306, allocations: 279.5 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.1311, allocations: 159.2 kB / 486 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.1314, allocations: 179.6 kB / 486.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1315, allocations: 12 kB / 486.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.1316, allocations: 111.7 kB / 486.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.1319, allocations: 207.5 kB / 486.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.132, allocations: 0 / 486.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/0.1321, allocations: 28 kB / 486.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1322, allocations: 83.62 kB / 486.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1323, allocations: 132.7 kB / 486.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.1327, allocations: 251 kB / 487 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1327, allocations: 0 / 487 MB, free: 300 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1327, allocations: 0 / 487 MB, free: 300 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1327, allocations: 0 / 487 MB, free: 300 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007797/0.1335, allocations: 0.6108 MB / 487.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1335, allocations: 12.03 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.1336, allocations: 36.47 kB / 487.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1339, allocations: 304 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.134, allocations: 384 / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.134, allocations: 8.375 kB / 487.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1342, allocations: 69.8 kB / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1342, allocations: 0 / 488 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1342, allocations: 11.98 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1342, allocations: 0 / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1344, allocations: 39.97 kB / 488 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.1351, allocations: 424.5 kB / 488.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1352, allocations: 46.56 kB / 488.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.1353, allocations: 32.94 kB / 488.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1353, allocations: 0 / 488.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1354, allocations: 38.55 kB / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1354, allocations: 0 / 488.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.001042/0.1364, allocations: 351.8 kB / 488.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1365, allocations: 51.41 kB / 489 MB, free: 14.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.1376, allocations: 0.8691 MB / 489.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1376, allocations: 25.7 kB / 489.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.1379, allocations: 212.1 kB / 490.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1379, allocations: 31.7 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.138, allocations: 17.66 kB / 490.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1382, allocations: 366.7 kB / 490.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1383, allocations: 39.97 kB / 490.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1385, allocations: 51.97 kB / 490.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.1388, allocations: 104.8 kB / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1388, allocations: 3.984 kB / 490.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003479/0.1391, allocations: 169.1 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1391, allocations: 8 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1392, allocations: 288 / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1392, allocations: 3.938 kB / 490.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1393, allocations: 31.91 kB / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1393, allocations: 0 / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.1394, allocations: 19.94 kB / 490.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1394, allocations: 7.984 kB / 490.9 MB, free: 12.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 (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.0003234/0.1398, allocations: 209.8 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.1398, allocations: 47.42 kB / 491.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.1403, allocations: 201.4 kB / 491.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1403, allocations: 0 / 491.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1403, allocations: 0 / 491.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.1403, allocations: 11.88 kB / 491.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.1411, allocations: 0.5141 MB / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1411, allocations: 0 / 491.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.369e-05/0.1412, allocations: 27.92 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1412, allocations: 4 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1412, allocations: 3.938 kB / 491.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1412, allocations: 480 / 491.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1412, allocations: 0 / 491.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.1416, allocations: 282.8 kB / 492.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.982e-05/0.1417, allocations: 120.5 kB / 492.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1418, allocations: 3.938 kB / 492.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1419, allocations: 11.98 kB / 492.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1419, allocations: 8 kB / 492.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.142, allocations: 3.984 kB / 492.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006851/0.1426, allocations: 0.655 MB / 493 MB, free: 9.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1427, allocations: 0 / 493 MB, free: 9.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1429, allocations: 24 kB / 493 MB, free: 9.898 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.001518/0.1444, allocations: 397 kB / 493.4 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.1449, allocations: 115.8 kB / 493.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1449, allocations: 0 / 493.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.1451, allocations: 55.97 kB / 493.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1455, allocations: 26.3 kB / 493.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1468, allocations: 0.9196 MB / 494.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.1474, allocations: 0.8302 MB / 495.3 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.912e-05/0.1475, allocations: 20.64 kB / 495.4 MB, free: 7.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.1476, allocations: 11.44 kB / 495.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1476, allocations: 8 kB / 495.4 MB, free: 7.605 MB / 366.1 MB Notification: Performance of Templates: time 0.00517/0.1528, allocations: 1.483 MB / 496.9 MB, free: 6.125 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches