Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001119/0.001119, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001152/0.001152, allocations: 192 kB / 18.56 MB, free: 4.434 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.373/1.373, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2248/0.2248, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 65.14 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003037/0.1435, allocations: 1.568 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007443/0.1442, allocations: 431.2 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.1443, allocations: 0 / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.1448, allocations: 451.1 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.1451, allocations: 255.5 kB / 472 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.1455, allocations: 162.3 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.1458, allocations: 155.7 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1459, allocations: 19.98 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.146, allocations: 107.7 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.1462, allocations: 199.7 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1462, allocations: 0 / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.732e-05/0.1463, allocations: 27.98 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.1464, allocations: 83.69 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.676e-05/0.1465, allocations: 107 kB / 472.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1468, allocations: 243.2 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1468, allocations: 3.938 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1468, allocations: 0 / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1468, allocations: 0 / 473.1 MB, free: 10.47 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.0007005/0.1475, allocations: 0.6297 MB / 473.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1475, allocations: 16.02 kB / 473.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.1476, allocations: 30.75 kB / 473.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.1477, allocations: 36.47 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.148, allocations: 312.1 kB / 474.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-06/0.148, allocations: 384 / 474.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.148, allocations: 4.375 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1482, allocations: 57.56 kB / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1482, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1482, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1482, allocations: 0 / 474.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.1483, allocations: 27.97 kB / 474.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.1488, allocations: 388.7 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.256e-05/0.1489, allocations: 34.5 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.149, allocations: 20.91 kB / 474.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.149, allocations: 0 / 474.7 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1491, allocations: 30.56 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1491, allocations: 4 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003037/0.1494, allocations: 97.2 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1494, allocations: 51.41 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.1503, allocations: 0.8691 MB / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1503, allocations: 25.7 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1505, allocations: 224 kB / 476 MB, free: 7.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1505, allocations: 7.938 kB / 476 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.1506, allocations: 13.84 kB / 476 MB, free: 7.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.1508, allocations: 370.7 kB / 476.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.335e-05/0.1508, allocations: 4 kB / 476.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.972e-05/0.1509, allocations: 15.98 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.053e-05/0.151, allocations: 24.84 kB / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.151, allocations: 0 / 476.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001716/0.1511, allocations: 97.17 kB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1512, allocations: 8 kB / 476.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.1512, allocations: 7.984 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.1512, allocations: 0 / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.1513, allocations: 7.938 kB / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1513, allocations: 0 / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.1514, allocations: 4 kB / 476.5 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.1514, 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 (2): * Single equations (assignments): 2 * 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.0002184/0.1516, allocations: 221.7 kB / 476.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.1517, allocations: 47.38 kB / 476.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.1519, allocations: 112.5 kB / 476.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.152, allocations: 0 / 476.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.152, allocations: 0 / 476.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.152, allocations: 0 / 476.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.1523, allocations: 289.5 kB / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1523, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.1523, allocations: 4 kB / 477.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1524, allocations: 7.969 kB / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1524, allocations: 0 / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1524, allocations: 0 / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1524, allocations: 0 / 477.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.1527, allocations: 194.9 kB / 477.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.512e-05/0.1528, allocations: 108.6 kB / 477.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1528, allocations: 0 / 477.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1529, allocations: 8.031 kB / 477.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1529, allocations: 0 / 477.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1529, allocations: 4 kB / 477.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006818/0.1536, allocations: 0.655 MB / 478.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1536, allocations: 0 / 478.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1539, allocations: 19.94 kB / 478.2 MB, free: 5.098 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 (2): * Single equations (assignments): 2 * 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.001301/0.1552, allocations: 0.9755 MB / 479.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1554, allocations: 35.91 kB / 479.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1554, allocations: 0 / 479.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.1554, allocations: 12 kB / 479.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.1558, allocations: 27.86 kB / 479.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.1592, allocations: 3.181 MB / 482.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.1596, allocations: 0.8221 MB / 483.2 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.621e-05/0.1597, allocations: 11.98 kB / 483.2 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.1598, allocations: 111.5 kB / 483.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1598, allocations: 0 / 483.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02549/0.1853, allocations: 5.607 MB / 488.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.702, allocations: 14.44 kB / 488.9 MB, free: 10.37 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_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_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches