Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 118.8 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002168/0.002168, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 246.5 MB, free: 10.75 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.2393/0.2393, allocations: 46.13 MB / 343.8 MB, free: 11.72 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.002291/0.002291, allocations: 85.14 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1318, allocations: 62.45 MB / 479.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.005069/0.137, allocations: 1.992 MB / 481.6 MB, free: 3.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.1391, allocations: 1.072 MB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1393, allocations: 0 / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005548/0.1399, allocations: 251.4 kB / 482.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.1404, allocations: 243.3 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1418, allocations: 0.6014 MB / 483.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.1423, allocations: 315.1 kB / 484 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.1425, allocations: 56.72 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1427, allocations: 139.4 kB / 484.2 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.143, allocations: 203.3 kB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.143, allocations: 8 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1432, allocations: 63.92 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.1434, allocations: 87.73 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1435, allocations: 107 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.1439, allocations: 291.1 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1439, allocations: 0 / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1439, allocations: 0 / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1439, allocations: 4 kB / 485 MB, free: 164 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008626/0.1448, allocations: 0.6261 MB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.612e-05/0.1449, allocations: 12.03 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.145, allocations: 40.47 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.1454, allocations: 318.1 kB / 485.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1454, allocations: 8.375 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1454, allocations: 8.359 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1457, allocations: 104.5 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1457, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1458, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1458, allocations: 0 / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.146, allocations: 79.88 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.1466, allocations: 452.5 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.1468, allocations: 70.55 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.1468, allocations: 36.97 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.1469, allocations: 11.97 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.1469, allocations: 34.56 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1469, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003712/0.1473, allocations: 157.1 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1474, allocations: 55.34 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.148, allocations: 0.576 MB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.674e-05/0.1481, allocations: 33.58 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1483, allocations: 196 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.1484, allocations: 23.75 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.1484, allocations: 21.7 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.1486, allocations: 350.8 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.1487, allocations: 23.98 kB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.391e-05/0.1488, allocations: 31.97 kB / 488.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.149, allocations: 64.77 kB / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.149, allocations: 0 / 488.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002262/0.1492, allocations: 133.2 kB / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1493, allocations: 6.812 kB / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1493, allocations: 0 / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1493, allocations: 0 / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.1494, allocations: 19.92 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.1494, allocations: 0 / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.1495, allocations: 7.906 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.1495, allocations: 0 / 488.4 MB, free: 12.48 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 (6): * Single equations (assignments): 6 * 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.0002409/0.1497, allocations: 173.8 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.1498, allocations: 39.53 kB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.1501, allocations: 153.5 kB / 488.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1502, allocations: 7.938 kB / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1502, allocations: 0 / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1502, allocations: 0 / 488.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.1506, allocations: 297.5 kB / 489.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1506, allocations: 0 / 489.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.1506, allocations: 12 kB / 489.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1507, allocations: 4 kB / 489.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.1507, allocations: 0 / 489.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.1507, allocations: 7.922 kB / 489.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1507, allocations: 0 / 489.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.151, allocations: 230.9 kB / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.1511, allocations: 100.7 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.1511, allocations: 4 kB / 489.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.1512, allocations: 15.88 kB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.1513, allocations: 3.984 kB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1513, allocations: 4 kB / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005055/0.1518, allocations: 427.1 kB / 489.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1518, allocations: 0 / 489.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1521, allocations: 32 kB / 489.9 MB, free: 10.9 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 (6): * Single equations (assignments): 6 * 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.002379/0.1545, allocations: 0.5801 MB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1547, allocations: 79.89 kB / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1547, allocations: 0 / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.123e-05/0.1548, allocations: 35.97 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.1553, allocations: 72.27 kB / 490.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1564, allocations: 0.7402 MB / 491.4 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.1569, allocations: 0.8138 MB / 492.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1571, allocations: 45.48 kB / 492.3 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.1571, allocations: 27.42 kB / 492.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1571, allocations: 4 kB / 492.3 MB, free: 8.684 MB / 366.1 MB Notification: Performance of Templates: time 0.006695/0.1638, allocations: 2.713 MB / 495 MB, free: 5.984 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches