Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 103.9 kB / 17.63 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 202.4 kB / 18.57 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2481/0.2481, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001598, allocations: 71.67 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.142, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003426/0.1454, allocations: 1.667 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1465, allocations: 0.5844 MB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.681e-05/0.1466, allocations: 0 / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.1469, allocations: 83.7 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.1473, allocations: 103.6 kB / 482.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004736/0.1478, allocations: 178.8 kB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1479, allocations: 95.75 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1481, allocations: 24.2 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.1482, allocations: 39.86 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1483, allocations: 55.81 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1483, allocations: 4 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1484, allocations: 55.97 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.1485, allocations: 23.91 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.1485, allocations: 39.69 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.1488, allocations: 123.8 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1488, allocations: 4 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1488, allocations: 0 / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1488, allocations: 3.938 kB / 483.2 MB, free: 2.102 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.0005223/0.1493, allocations: 430.9 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1494, allocations: 8.031 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.1494, allocations: 38.75 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1495, allocations: 12.75 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1497, allocations: 208.1 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1497, allocations: 384 / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.1497, allocations: 12.36 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1499, allocations: 77.48 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.15, allocations: 3.906 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.15, allocations: 0 / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.15, allocations: 0 / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1501, allocations: 47.95 kB / 484 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.1506, allocations: 328.7 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1508, allocations: 58.55 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.1509, allocations: 24.97 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1509, allocations: 0 / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1509, allocations: 38.56 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.897e-06/0.151, allocations: 4 kB / 484.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001502/0.1525, allocations: 441 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1525, allocations: 51.41 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1527, allocations: 219.2 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1528, allocations: 25.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.1528, allocations: 116.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.1529, allocations: 35.45 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.1529, allocations: 29.7 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.153, allocations: 322.8 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1532, allocations: 59.95 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1533, allocations: 51.95 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1536, allocations: 132.7 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1536, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003618/0.154, allocations: 165.7 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.154, allocations: 6.344 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.154, allocations: 3.984 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.154, allocations: 7.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1542, allocations: 23.98 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1542, allocations: 4 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.1543, allocations: 7.984 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1543, allocations: 4 kB / 486.1 MB, free: 14.93 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 9.809e-05/0.1544, allocations: 133.8 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.1544, allocations: 19.81 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.1548, allocations: 195 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.1549, allocations: 3.938 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1549, allocations: 0 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1549, allocations: 7.938 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008003/0.1557, allocations: 0.5 MB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1557, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.1558, allocations: 27.98 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.1558, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1558, allocations: 4 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.1559, allocations: 7.922 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1559, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.1563, allocations: 276.9 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.1563, allocations: 92.92 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1564, allocations: 192 / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1565, allocations: 19.98 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1565, allocations: 15.92 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.1565, allocations: 4 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1567, allocations: 168.3 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1567, allocations: 0 / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.157, allocations: 31.98 kB / 487.6 MB, free: 13.32 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.001571/0.1585, allocations: 1.15 MB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.1589, allocations: 139.8 kB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1589, allocations: 0 / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1591, allocations: 75.95 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.1595, allocations: 23.66 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.1618, allocations: 1.972 MB / 491 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.1621, allocations: 0.7197 MB / 491.7 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.621e-05/0.1622, allocations: 24.53 kB / 491.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.1623, allocations: 47.59 kB / 491.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1623, allocations: 4 kB / 491.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.1843, allocations: 3.524 MB / 495.3 MB, free: 5.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.318, allocations: 23.62 kB / 495.3 MB, free: 5.707 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches