Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.00112/0.00112, allocations: 104 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.001135/0.001135, allocations: 192.1 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.329/1.329, 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.2064/0.2064, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 60.55 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002937/0.1162, allocations: 1.62 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1176, allocations: 1.027 MB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.1176, allocations: 4 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.1178, allocations: 19.86 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.118, allocations: 51.77 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1183, allocations: 126.9 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1184, allocations: 59.78 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1185, allocations: 20.17 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.745e-05/0.1186, allocations: 27.91 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1187, allocations: 27.86 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1188, allocations: 4 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.775e-05/0.1189, allocations: 55.91 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.119, allocations: 23.92 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.119, allocations: 23.86 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.1192, allocations: 107.8 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1192, allocations: 4 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1192, allocations: 0 / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1192, allocations: 0 / 472.6 MB, free: 11.06 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.0004812/0.1197, allocations: 391.2 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1197, allocations: 12.02 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.1198, allocations: 38.75 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.483e-05/0.1198, allocations: 8.922 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.12, allocations: 196.1 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.12, allocations: 384 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.12, allocations: 8.125 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.1202, allocations: 75.33 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1202, allocations: 0 / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1203, allocations: 4 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1203, allocations: 4 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.1204, allocations: 31.97 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.1208, allocations: 284.8 kB / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1209, allocations: 46.5 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.121, allocations: 24.94 kB / 473.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.121, allocations: 3.984 kB / 473.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.121, allocations: 34.56 kB / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.121, allocations: 0 / 473.7 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007222/0.1218, allocations: 197.3 kB / 473.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.1218, allocations: 85.11 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.122, allocations: 148.9 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.122, allocations: 29.64 kB / 474.1 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.524e-05/0.1221, allocations: 100 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1221, allocations: 23.7 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.1221, allocations: 17.72 kB / 474.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1222, allocations: 322.8 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1224, allocations: 27.97 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1225, allocations: 45.69 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1227, allocations: 76.75 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1227, allocations: 0 / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002928/0.123, allocations: 113.5 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.123, allocations: 12.03 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1231, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1231, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1232, allocations: 15.98 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1232, allocations: 11.88 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.1233, allocations: 11.92 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1233, allocations: 4 kB / 474.9 MB, free: 8.457 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 (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 8.953e-05/0.1234, allocations: 117.8 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.1234, allocations: 15.91 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.1238, allocations: 122.6 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1238, allocations: 0 / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1238, allocations: 7.922 kB / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1238, allocations: 0 / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.1244, allocations: 394.5 kB / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1244, allocations: 0 / 475.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.1245, allocations: 15.98 kB / 475.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1245, allocations: 3.938 kB / 475.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1245, allocations: 8 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1245, allocations: 0 / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1245, allocations: 0 / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.1248, allocations: 211.3 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.1249, allocations: 85.3 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1249, allocations: 3.938 kB / 475.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.125, allocations: 15.98 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.125, allocations: 11.97 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.125, allocations: 3.938 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.993e-05/0.1251, allocations: 107.3 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1251, allocations: 0 / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1254, allocations: 31.98 kB / 476 MB, free: 7.219 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 (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.001523/0.127, allocations: 1.068 MB / 477.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002807/0.1273, allocations: 75.92 kB / 477.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1273, allocations: 8 kB / 477.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.1274, allocations: 43.91 kB / 477.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1277, allocations: 23.89 kB / 477.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1295, allocations: 1.538 MB / 478.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1298, allocations: 0.6962 MB / 479.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.405e-05/0.1299, allocations: 12.67 kB / 479.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.1299, allocations: 35.36 kB / 479.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.13, allocations: 0 / 479.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.1485, allocations: 2.942 MB / 482.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/7.787, allocations: 22.77 kB / 482.5 MB, free: 0.8633 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_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_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches