Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 57.81 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1389, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003197/0.1422, allocations: 1.577 MB / 470.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.143, allocations: 407.2 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.1431, allocations: 0 / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.1437, allocations: 455.1 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.1441, allocations: 255.4 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1444, allocations: 123 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1446, allocations: 159.7 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1448, allocations: 11.98 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.1449, allocations: 107.7 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1451, allocations: 203.7 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1451, allocations: 7.938 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.754e-05/0.1452, allocations: 27.92 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.932e-05/0.1453, allocations: 87.62 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.1454, allocations: 99.05 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.1456, allocations: 239 kB / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1456, allocations: 0 / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1456, allocations: 0 / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1456, allocations: 0 / 473.1 MB, free: 10.53 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.0006721/0.1463, allocations: 0.6338 MB / 473.7 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1464, allocations: 8.031 kB / 473.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1464, allocations: 42.73 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.475e-05/0.1465, allocations: 40.47 kB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.1467, allocations: 304 kB / 474.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1468, allocations: 4.375 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1468, allocations: 384 / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.1469, allocations: 53.62 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.147, allocations: 0 / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.147, allocations: 0 / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.147, allocations: 0 / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1471, allocations: 35.97 kB / 474.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.1476, allocations: 380.8 kB / 474.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1478, allocations: 34.56 kB / 474.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.1479, allocations: 24.94 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.1479, allocations: 4 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1479, allocations: 30.56 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.1479, allocations: 0 / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003422/0.1483, allocations: 125 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1483, allocations: 51.41 kB / 474.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.1491, allocations: 0.8574 MB / 475.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1492, allocations: 29.7 kB / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.1493, allocations: 212.1 kB / 475.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.1494, allocations: 11.75 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.1494, allocations: 17.72 kB / 475.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1496, allocations: 362.7 kB / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.419e-05/0.1496, allocations: 16 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.1497, allocations: 11.98 kB / 476.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1498, allocations: 44.83 kB / 476.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1498, allocations: 0 / 476.4 MB, free: 6.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001891/0.15, allocations: 97.14 kB / 476.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1501, allocations: 8 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1501, allocations: 4.312 kB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1501, allocations: 0 / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.1502, allocations: 8 kB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1502, allocations: 0 / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.1503, allocations: 23.92 kB / 476.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1503, allocations: 0 / 476.5 MB, free: 6.852 MB / 350.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.0001771/0.1505, allocations: 209.7 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.1505, allocations: 43.42 kB / 476.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.1508, allocations: 128.9 kB / 476.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1508, allocations: 0 / 476.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1508, allocations: 0 / 476.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1508, allocations: 4 kB / 476.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.1511, allocations: 289.5 kB / 477.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1511, allocations: 0 / 477.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.1512, allocations: 8 kB / 477.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1512, allocations: 3.984 kB / 477.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1512, allocations: 0 / 477.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1512, allocations: 0 / 477.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1512, allocations: 0 / 477.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1515, allocations: 202.9 kB / 477.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.1516, allocations: 116.6 kB / 477.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1516, allocations: 0 / 477.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.1517, allocations: 4 kB / 477.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.1518, allocations: 7.922 kB / 477.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1518, allocations: 0 / 477.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005939/0.1524, allocations: 0.6472 MB / 478.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1524, allocations: 0 / 478.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1527, allocations: 20 kB / 478.2 MB, free: 5.082 MB / 350.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.001317/0.154, allocations: 0.9925 MB / 479.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1542, allocations: 39.84 kB / 479.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1542, allocations: 0 / 479.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.1543, allocations: 20.08 kB / 479.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.1547, allocations: 22.06 kB / 479.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.1581, allocations: 3.181 MB / 482.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004422/0.1586, allocations: 0.8143 MB / 483.2 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.583e-05/0.1586, allocations: 11.98 kB / 483.2 MB, free: 0 / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.1588, allocations: 107.4 kB / 483.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1588, allocations: 8 kB / 483.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.1819, allocations: 5.623 MB / 489 MB, free: 10.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/7.754, allocations: 3.938 kB / 489 MB, free: 10.34 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches