Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.001332/0.001332, 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.001555/0.001555, 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.431/1.431, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2249/0.2249, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.77 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003677/0.13, allocations: 1.947 MB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1316, allocations: 0.8533 MB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1317, allocations: 4 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.1322, allocations: 255.2 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003543/0.1325, allocations: 191.3 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1336, allocations: 492.8 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.134, allocations: 279.3 kB / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.1343, allocations: 68.84 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1344, allocations: 127.5 kB / 473.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.1347, allocations: 195.4 kB / 473.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.1347, allocations: 12 kB / 473.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1349, allocations: 71.91 kB / 473.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.135, allocations: 87.67 kB / 473.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.1352, allocations: 111.1 kB / 474 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.1355, allocations: 306.8 kB / 474.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1355, allocations: 0 / 474.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1356, allocations: 0 / 474.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.1356, allocations: 0 / 474.3 MB, free: 9.316 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008306/0.1364, allocations: 0.6457 MB / 475 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1365, allocations: 15.97 kB / 475 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.1365, allocations: 38.75 kB / 475 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.1366, allocations: 48.3 kB / 475.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.137, allocations: 310.3 kB / 475.4 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.137, allocations: 4.375 kB / 475.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.137, allocations: 12.38 kB / 475.4 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.1373, allocations: 109.5 kB / 475.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1373, allocations: 7.906 kB / 475.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1373, allocations: 12 kB / 475.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1374, allocations: 0 / 475.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.1375, allocations: 71.89 kB / 475.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007255/0.1383, allocations: 0.4886 MB / 476.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1385, allocations: 94.48 kB / 476.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.1385, allocations: 32.84 kB / 476.2 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1386, allocations: 7.984 kB / 476.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1386, allocations: 38.5 kB / 476.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.1386, allocations: 0 / 476.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009478/0.1396, allocations: 384 kB / 476.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1396, allocations: 51.41 kB / 476.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005578/0.1402, allocations: 0.5409 MB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1402, allocations: 29.7 kB / 477.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.1404, allocations: 200.3 kB / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.1404, allocations: 55.2 kB / 477.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.1405, allocations: 33.7 kB / 477.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1407, allocations: 358.8 kB / 477.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.1408, allocations: 47.97 kB / 477.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1409, allocations: 58.41 kB / 478 MB, free: 5.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.1411, allocations: 120.7 kB / 478.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1411, allocations: 0 / 478.1 MB, free: 5.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003414/0.1415, allocations: 198.8 kB / 478.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1415, allocations: 8 kB / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1415, allocations: 0 / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1416, allocations: 0 / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1417, allocations: 39.86 kB / 478.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1417, allocations: 3.984 kB / 478.3 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.1418, allocations: 11.98 kB / 478.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1418, allocations: 4 kB / 478.3 MB, free: 5.055 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 (17): * Single equations (assignments): 17 * 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.0001711/0.142, allocations: 173.8 kB / 478.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.1421, allocations: 43.53 kB / 478.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.1425, allocations: 237.4 kB / 478.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1426, allocations: 3.984 kB / 478.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1426, allocations: 3.938 kB / 478.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1426, allocations: 0 / 478.8 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007851/0.1434, allocations: 0.6332 MB / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1434, allocations: 0 / 479.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1435, allocations: 31.97 kB / 479.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.1435, allocations: 4 kB / 479.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1435, allocations: 4 kB / 479.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1435, allocations: 3.938 kB / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1435, allocations: 7.938 kB / 479.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.1439, allocations: 290.9 kB / 479.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.621e-05/0.144, allocations: 112.7 kB / 479.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.1441, allocations: 3.984 kB / 479.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1442, allocations: 19.94 kB / 479.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1442, allocations: 7.984 kB / 479.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1442, allocations: 4 kB / 479.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003882/0.1446, allocations: 419.1 kB / 480.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1446, allocations: 0 / 480.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.145, allocations: 51.91 kB / 480.4 MB, free: 2.918 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 (17): * Single equations (assignments): 17 * 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.002216/0.1472, allocations: 1.419 MB / 481.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003525/0.1475, allocations: 139.9 kB / 481.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1476, allocations: 0 / 481.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1477, allocations: 71.91 kB / 482 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.1483, allocations: 80.77 kB / 482.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.152, allocations: 3.06 MB / 485.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.1523, allocations: 0.7987 MB / 485.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.1525, allocations: 57.89 kB / 486 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.1527, allocations: 119.4 kB / 486.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1527, allocations: 0 / 486.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.1779, allocations: 7.106 MB / 493.2 MB, free: 6.355 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.668, allocations: 15.28 kB / 493.2 MB, free: 6.344 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches