Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001963/0.001963, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002363/0.002363, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 72.56 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1328, allocations: 62.43 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004392/0.1372, allocations: 2.117 MB / 482.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.1397, allocations: 1.391 MB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.14, allocations: 4 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.1404, allocations: 55.5 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.141, allocations: 223 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.1428, allocations: 0.6208 MB / 484.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006189/0.1434, allocations: 347 kB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1437, allocations: 69 kB / 484.9 MB, free: 372 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.1442, allocations: 159.3 kB / 485.1 MB, free: 212 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.1446, allocations: 203.2 kB / 485.3 MB, free: 8 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.1447, allocations: 16.05 kB / 485.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.1449, allocations: 59.94 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.1452, allocations: 155.4 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.1454, allocations: 182.5 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006902/0.1461, allocations: 434.3 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1461, allocations: 0 / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1461, allocations: 4 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.1462, allocations: 0 / 486.1 MB, free: 15.17 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.001548/0.1477, allocations: 0.8394 MB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1478, allocations: 12.03 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.1478, allocations: 38.75 kB / 487 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.1483, allocations: 96.14 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000604/0.1489, allocations: 0.4924 MB / 487.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.149, allocations: 4.375 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.149, allocations: 15.94 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.1493, allocations: 159.2 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1494, allocations: 3.938 kB / 487.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1494, allocations: 8 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1494, allocations: 0 / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.1497, allocations: 127.8 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.1511, allocations: 0.7346 MB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.1515, allocations: 125.2 kB / 488.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1516, allocations: 73.73 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.1517, allocations: 8 kB / 488.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1517, allocations: 34.5 kB / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 2.505e-06/0.1517, allocations: 0 / 488.9 MB, free: 12.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.00219/0.1539, allocations: 0.7593 MB / 489.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.154, allocations: 85.05 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1551, allocations: 0.9299 MB / 490.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1551, allocations: 33.7 kB / 490.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.1553, allocations: 276.3 kB / 491 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.597e-05/0.1554, allocations: 63.02 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/0.1555, allocations: 45.69 kB / 491.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.1556, allocations: 317.9 kB / 491.4 MB, free: 9.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.1559, allocations: 107.9 kB / 491.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.1562, allocations: 132 kB / 491.6 MB, free: 9.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.1568, allocations: 257.6 kB / 491.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1568, allocations: 0 / 491.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007456/0.1576, allocations: 340.7 kB / 492.2 MB, free: 8.824 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1576, allocations: 6.5 kB / 492.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1576, allocations: 4 kB / 492.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1576, allocations: 4 kB / 492.2 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.1579, allocations: 55.94 kB / 492.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.158, allocations: 0 / 492.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.1582, allocations: 24.11 kB / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.1582, allocations: 11.98 kB / 492.3 MB, free: 8.723 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 (20): * Single equations (assignments): 20 * 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.000221/0.1584, allocations: 225.6 kB / 492.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1586, allocations: 63.25 kB / 492.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.1594, allocations: 398.5 kB / 493 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1595, allocations: 4 kB / 493 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1595, allocations: 4.375 kB / 493 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1595, allocations: 0 / 493 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.1609, allocations: 0.9739 MB / 494 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1609, allocations: 0 / 494 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.1612, allocations: 63.89 kB / 494 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1612, allocations: 0 / 494 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1612, allocations: 7.984 kB / 494 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1612, allocations: 3.938 kB / 494 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1612, allocations: 0 / 494 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.162, allocations: 0.5096 MB / 494.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.1622, allocations: 152.3 kB / 494.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.1622, allocations: 11.92 kB / 494.7 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1625, allocations: 27.92 kB / 494.7 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.1626, allocations: 19.97 kB / 494.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.1626, allocations: 8 kB / 494.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006973/0.1633, allocations: 0.6825 MB / 495.4 MB, free: 5.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1633, allocations: 0 / 495.4 MB, free: 5.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003847/0.1637, allocations: 68 kB / 495.5 MB, free: 5.41 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 (20): * Single equations (assignments): 20 * 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.001868/0.1656, allocations: 1.343 MB / 496.8 MB, free: 4.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007106/0.1663, allocations: 283.6 kB / 497.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1663, allocations: 0 / 497.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.1667, allocations: 143.8 kB / 497.3 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006886/0.1674, allocations: 81.38 kB / 497.3 MB, free: 3.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.1748, allocations: 5.689 MB / 0.4912 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.1753, allocations: 0.8925 MB / 0.4921 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.1756, allocations: 107.2 kB / 0.4922 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.1758, allocations: 195.3 kB / 0.4924 GB, free: 12.69 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1759, allocations: 0.75 kB / 0.4924 GB, free: 12.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.2095, allocations: 10.51 MB / 0.5027 GB, free: 2.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.79/7.999, allocations: 11.95 kB / 0.5027 GB, free: 2.234 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches