Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001541, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2458/0.2458, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 77.97 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1461, allocations: 62.46 MB / 480.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003453/0.1496, allocations: 1.616 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1508, allocations: 0.5572 MB / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.794e-05/0.1509, allocations: 0 / 482.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.1515, allocations: 463.1 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.152, allocations: 295.3 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1524, allocations: 167.3 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.1526, allocations: 171.6 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1528, allocations: 23.92 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1529, allocations: 107.8 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.1531, allocations: 211.6 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1531, allocations: 4 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.997e-05/0.1532, allocations: 23.98 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1533, allocations: 91.69 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1534, allocations: 103 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.1537, allocations: 255 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1538, allocations: 0 / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1538, allocations: 0 / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1538, allocations: 0 / 484.2 MB, free: 1.086 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008578/0.1546, allocations: 0.6416 MB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.1547, allocations: 12.03 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.1548, allocations: 34.75 kB / 484.9 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.1548, allocations: 52.36 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.1551, allocations: 300.3 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1552, allocations: 384 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.1552, allocations: 384 / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1553, allocations: 61.61 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1554, allocations: 0 / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1554, allocations: 0 / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1554, allocations: 0 / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1555, allocations: 39.91 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005297/0.1561, allocations: 408.7 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1562, allocations: 38.56 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.1563, allocations: 24.94 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1563, allocations: 4 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.1564, allocations: 46.42 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.1564, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003587/0.1567, allocations: 121.2 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1568, allocations: 55.39 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.1576, allocations: 0.8699 MB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1576, allocations: 29.7 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1578, allocations: 223.9 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.1579, allocations: 7.906 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.1579, allocations: 21.7 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1581, allocations: 358.7 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.014e-05/0.1581, allocations: 19.98 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.1582, allocations: 24.14 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1583, allocations: 52.77 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1584, allocations: 0 / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002057/0.1586, allocations: 113.1 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.1586, allocations: 7.938 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1586, allocations: 0 / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1586, allocations: 0 / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1587, allocations: 8 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1588, allocations: 0 / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.1588, allocations: 11.98 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1588, allocations: 0 / 487.7 MB, free: 13.3 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 (3): * Single equations (assignments): 3 * 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.0001807/0.159, allocations: 213.7 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.1591, allocations: 43.44 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.1594, allocations: 133 kB / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1594, allocations: 0 / 488.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1594, allocations: 4 kB / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1594, allocations: 0 / 488.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.1597, allocations: 293.5 kB / 488.4 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1597, allocations: 4 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-05/0.1598, allocations: 4 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1598, allocations: 0 / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1598, allocations: 4 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.1598, allocations: 3.984 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1598, allocations: 3.984 kB / 488.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.1601, allocations: 218.8 kB / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/0.1602, allocations: 108.6 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.1602, allocations: 4 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.1603, allocations: 3.984 kB / 488.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1603, allocations: 4 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1603, allocations: 4 kB / 488.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005938/0.1609, allocations: 0.6589 MB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1609, allocations: 4 kB / 489.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1612, allocations: 24 kB / 489.4 MB, free: 11.48 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 (3): * Single equations (assignments): 3 * 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.00126/0.1625, allocations: 0.988 MB / 490.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1627, allocations: 39.97 kB / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1627, allocations: 0 / 490.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.1628, allocations: 27.97 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.1632, allocations: 22.31 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004023/0.1673, allocations: 3.253 MB / 493.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.1678, allocations: 0.8221 MB / 494.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.475e-05/0.1679, allocations: 15.98 kB / 494.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.1681, allocations: 115.4 kB / 494.7 MB, free: 6.176 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1681, allocations: 0 / 494.7 MB, free: 6.176 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.1922, allocations: 5.665 MB / 0.4887 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.171, allocations: 11.75 kB / 0.4887 GB, free: 0.5508 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches