Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009947/0.0009948, allocations: 100.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 192.2 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 227.7 MB / 246.4 MB, free: 9.832 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2597/0.2597, allocations: 46.19 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003033, allocations: 8 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 63.57 MB / 482.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00332/0.1352, allocations: 1.678 MB / 484.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1376, allocations: 1.275 MB / 485.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.1379, allocations: 3.938 kB / 485.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.1382, allocations: 43.7 kB / 485.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.1387, allocations: 179.4 kB / 485.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.14, allocations: 0.5512 MB / 486.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.1405, allocations: 271.2 kB / 486.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.1407, allocations: 60.89 kB / 486.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.1411, allocations: 107.5 kB / 486.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1413, allocations: 163.3 kB / 486.7 MB, free: 212 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.1414, allocations: 8 kB / 486.7 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1416, allocations: 51.98 kB / 486.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1417, allocations: 135.6 kB / 486.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1418, allocations: 85.44 kB / 487 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003919/0.1422, allocations: 295.7 kB / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1423, allocations: 0 / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1423, allocations: 0 / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.1423, allocations: 0 / 487.3 MB, free: 15.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00119/0.1435, allocations: 0.7114 MB / 488 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1435, allocations: 8.031 kB / 488 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.144, allocations: 79.31 kB / 488.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.145, allocations: 446.9 kB / 488.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.1451, allocations: 8 kB / 488.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.323e-05/0.1452, allocations: 8 kB / 488.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.1456, allocations: 155.1 kB / 488.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.1456, allocations: 3.984 kB / 488.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.1457, allocations: 4 kB / 488.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.1457, allocations: 4 kB / 488.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.146, allocations: 99.94 kB / 488.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.1474, allocations: 0.6994 MB / 489.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1477, allocations: 117.2 kB / 489.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.1478, allocations: 49.77 kB / 489.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.1479, allocations: 11.94 kB / 489.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1479, allocations: 34.55 kB / 489.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.876e-06/0.1479, allocations: 3.938 kB / 489.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001615/0.1495, allocations: 0.5762 MB / 490.3 MB, free: 12.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.1496, allocations: 85.11 kB / 490.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.1506, allocations: 0.914 MB / 491.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.1507, allocations: 25.7 kB / 491.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.1509, allocations: 256.3 kB / 491.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.1509, allocations: 51.2 kB / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.1509, allocations: 4 kB / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1511, allocations: 370.8 kB / 492 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.1513, allocations: 75.95 kB / 492 MB, free: 10.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1514, allocations: 84.48 kB / 492.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1516, allocations: 87.91 kB / 492.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1517, allocations: 0 / 492.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000508/0.1522, allocations: 256.9 kB / 492.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.1522, allocations: 7.984 kB / 492.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1522, allocations: 0 / 492.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1522, allocations: 4 kB / 492.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1525, allocations: 43.91 kB / 492.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1525, allocations: 0 / 492.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.1527, allocations: 27.89 kB / 492.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1527, allocations: 4 kB / 492.5 MB, free: 10.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002961/0.153, allocations: 217.7 kB / 492.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.1531, allocations: 51.34 kB / 492.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.1538, allocations: 315.3 kB / 493.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1539, allocations: 4 kB / 493.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1539, allocations: 0 / 493.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1539, allocations: 4 kB / 493.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.1551, allocations: 0.8254 MB / 494 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1551, allocations: 0 / 494 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.1553, allocations: 39.97 kB / 494 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1553, allocations: 0 / 494 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.1553, allocations: 11.98 kB / 494 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1553, allocations: 0 / 494 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1553, allocations: 0 / 494 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.1559, allocations: 438 kB / 494.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.1561, allocations: 152.3 kB / 494.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.1562, allocations: 0 / 494.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1564, allocations: 23.92 kB / 494.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.1565, allocations: 7.984 kB / 494.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1565, allocations: 7.984 kB / 494.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008744/0.1574, allocations: 0.663 MB / 495.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1574, allocations: 4 kB / 495.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.1578, allocations: 63.94 kB / 495.3 MB, free: 7.199 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/0.1589, allocations: 398.4 kB / 495.7 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004835/0.1594, allocations: 175.8 kB / 495.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1594, allocations: 0 / 495.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.1596, allocations: 99.88 kB / 496 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.1603, allocations: 75.52 kB / 496.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.162, allocations: 1.019 MB / 497.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.1624, allocations: 0.8811 MB / 498 MB, free: 4.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.1627, allocations: 87.2 kB / 498.1 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1628, allocations: 43.42 kB / 498.1 MB, free: 4.516 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1628, allocations: 0 / 498.1 MB, free: 4.516 MB / 366.1 MB Notification: Performance of Templates: time 0.009789/0.1726, allocations: 3.719 MB / 0.4901 GB, free: 0.8047 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches