Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, 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.001331/0.001331, 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.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2552/0.2552, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 73.38 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1245, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.003472/0.128, allocations: 1.665 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1299, allocations: 1.175 MB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.807e-05/0.13, allocations: 4 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.1302, allocations: 23.84 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.1305, allocations: 79.62 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1309, allocations: 139.6 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1311, allocations: 67.78 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1312, allocations: 19.97 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.1313, allocations: 27.92 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.1315, allocations: 43.77 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1315, allocations: 4 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.1317, allocations: 99.88 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.1318, allocations: 23.92 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.1319, allocations: 27.8 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.1322, allocations: 155.8 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1322, allocations: 0 / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1322, allocations: 4 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1322, allocations: 0 / 483.7 MB, free: 1.617 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00066/0.1329, allocations: 415.1 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1329, allocations: 11.97 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.133, allocations: 34.75 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.133, allocations: 8.844 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.1333, allocations: 208.1 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1333, allocations: 384 / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1334, allocations: 4.375 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1336, allocations: 75.27 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1336, allocations: 0 / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1336, allocations: 4 kB / 484.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1336, allocations: 8 kB / 484.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1338, allocations: 31.97 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.1342, allocations: 292.8 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1343, allocations: 46.5 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.1344, allocations: 24.94 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1345, allocations: 3.984 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1345, allocations: 30.56 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1345, allocations: 0 / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000821/0.1353, allocations: 217.2 kB / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.1354, allocations: 77.11 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.1356, allocations: 160.6 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1356, allocations: 29.7 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.1357, allocations: 92.14 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.1358, allocations: 23.7 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.1358, allocations: 21.72 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.136, allocations: 322.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1361, allocations: 31.97 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1362, allocations: 45.69 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1365, allocations: 81 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1365, allocations: 0 / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000287/0.1368, allocations: 117.5 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1368, allocations: 4 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1368, allocations: 4 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1368, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.137, allocations: 19.98 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.137, allocations: 4 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.1371, allocations: 19.8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1371, allocations: 7.938 kB / 486.1 MB, free: 14.94 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 (7): * Single equations (assignments): 7 * 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.262e-05/0.1372, allocations: 117.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.1372, allocations: 7.906 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.1376, allocations: 126.3 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1376, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1376, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1376, allocations: 3.938 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.1382, allocations: 402.3 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1382, allocations: 4.281 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.1383, allocations: 19.98 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1383, allocations: 3.984 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1383, allocations: 7.938 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1383, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1384, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.1387, allocations: 215.3 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.1387, allocations: 89 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.1388, allocations: 7.938 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.1389, allocations: 7.984 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1389, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1389, allocations: 4 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1391, allocations: 121.5 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1391, allocations: 0 / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1394, allocations: 39.98 kB / 487.3 MB, free: 13.68 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 (7): * Single equations (assignments): 7 * 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.001652/0.141, allocations: 1.125 MB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.1414, allocations: 87.86 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1414, allocations: 0 / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.1415, allocations: 47.91 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.1419, allocations: 18.98 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.144, allocations: 1.567 MB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1443, allocations: 0.7041 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.424e-05/0.1444, allocations: 12.66 kB / 490.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.1444, allocations: 35.44 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1445, allocations: 0 / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.1696, allocations: 3.426 MB / 494.3 MB, free: 6.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.803/8.973, allocations: 10.42 kB / 494.3 MB, free: 6.738 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_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_CombiTable2Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches