Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001908/0.001908, 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.002046/0.002046, 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.439/1.439, 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.2152/0.2152, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002626/0.002626, allocations: 71 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.149, allocations: 62.46 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.003806/0.1529, allocations: 1.641 MB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.1538, allocations: 0.6802 MB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.1539, allocations: 3.938 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1541, allocations: 27.89 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.1544, allocations: 43.83 kB / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.13e-06/0.1544, allocations: 0 / 482.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.1546, allocations: 39.84 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.1546, allocations: 0 / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.1547, allocations: 7.938 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.831e-05/0.1548, allocations: 23.91 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1548, allocations: 4 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.574e-05/0.1548, allocations: 4 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.054e-05/0.1549, allocations: 19.92 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.155, allocations: 27.81 kB / 482.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1551, allocations: 72.02 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1551, allocations: 0 / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1551, allocations: 0 / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1551, allocations: 0 / 482.7 MB, free: 2.586 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004662/0.1556, allocations: 359.4 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1557, allocations: 15.97 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.1557, allocations: 38.73 kB / 483.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1558, allocations: 12.75 kB / 483.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1559, allocations: 176.3 kB / 483.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.156, allocations: 4.359 kB / 483.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.156, allocations: 4.375 kB / 483.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.1562, allocations: 129.7 kB / 483.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1562, allocations: 3.938 kB / 483.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1562, allocations: 0 / 483.4 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.061e-05/0.1563, allocations: 27.98 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.293e-05/0.1564, allocations: 43.86 kB / 483.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006926/0.1571, allocations: 0.8869 MB / 484.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.1572, allocations: 169.1 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.1572, allocations: 84.08 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.1573, allocations: 79.28 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.1573, allocations: 113.8 kB / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1573, allocations: 0 / 484.8 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.708e-05/0.1574, allocations: 41.55 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.1575, allocations: 130.7 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1577, allocations: 190 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.1577, allocations: 29.64 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.913e-05/0.1578, allocations: 147.1 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.1578, allocations: 0 / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.1579, allocations: 49.61 kB / 485.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.158, allocations: 318.8 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.158, allocations: 31.97 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1582, allocations: 157 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1583, allocations: 204.9 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1584, allocations: 4 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000303/0.1587, allocations: 197.6 kB / 486.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1587, allocations: 12.09 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1587, allocations: 4 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1587, allocations: 8 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.1589, allocations: 35.92 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.1589, allocations: 7.984 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-05/0.159, allocations: 27.69 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.159, allocations: 12 kB / 486.4 MB, free: 14.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001162/0.1591, allocations: 213 kB / 486.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.1592, allocations: 120.8 kB / 486.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.1592, allocations: 112.9 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-05/0.1593, allocations: 184.2 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.523e-05/0.1594, allocations: 184.1 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/0.1595, allocations: 176.3 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1597, allocations: 433.1 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/0.1598, allocations: 105 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.1598, allocations: 109 kB / 488 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.929e-05/0.1599, allocations: 180.2 kB / 488.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.1599, allocations: 176.3 kB / 488.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.374e-05/0.16, allocations: 188.2 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-05/0.1601, allocations: 184.3 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1602, allocations: 311.6 kB / 489 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/0.1603, allocations: 190 kB / 489.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.1604, allocations: 180.2 kB / 489.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.1605, allocations: 101 kB / 489.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.476e-05/0.1606, allocations: 184.3 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.1607, allocations: 108.9 kB / 489.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.75e-05/0.1608, allocations: 131.2 kB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1608, allocations: 0 / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.1611, allocations: 16 kB / 489.9 MB, free: 10.76 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 (0): * Single equations (assignments): 0 * 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.0007475/0.1618, allocations: 0.9125 MB / 490.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.162, allocations: 72.84 kB / 490.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.162, allocations: 0 / 490.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-06/0.162, allocations: 8.125 kB / 490.9 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1623, allocations: 463.7 kB / 491.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1639, allocations: 1.878 MB / 493.2 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1642, allocations: 0.6928 MB / 493.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.1644, allocations: 53.02 kB / 494 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.359e-05/0.1645, allocations: 23.42 kB / 494 MB, free: 6.461 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1645, allocations: 0 / 494 MB, free: 6.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.1853, allocations: 2.041 MB / 496.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.533, allocations: 21.41 kB / 496.1 MB, free: 4.473 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_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_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches