Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.001164/0.001164, allocations: 108 kB / 16.41 MB, free: 6.488 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.001171/0.001171, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2121/0.2121, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 63.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1162, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.003006/0.1192, allocations: 1.604 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006195/0.1199, allocations: 323.5 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.12, allocations: 4 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.1205, allocations: 447.2 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.1209, allocations: 259.3 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.1212, allocations: 115.7 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1214, allocations: 151.7 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1216, allocations: 20.16 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1217, allocations: 103.8 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1219, allocations: 211.6 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.122, allocations: 7.938 kB / 0.4906 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.1221, allocations: 27.98 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.1222, allocations: 79.69 kB / 0.4907 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.1223, allocations: 103 kB / 0.4908 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.1226, allocations: 266.6 kB / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1226, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1227, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1227, allocations: 0 / 0.491 GB, free: 8.598 MB / 382.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.000716/0.1234, allocations: 0.6491 MB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1234, allocations: 11.89 kB / 0.4917 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.781e-05/0.1235, allocations: 38.69 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.1236, allocations: 40.66 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1238, allocations: 304.6 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1239, allocations: 8.312 kB / 0.492 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1239, allocations: 8.125 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.124, allocations: 45.69 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1241, allocations: 0 / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1241, allocations: 7.984 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1241, allocations: 4 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1242, allocations: 27.92 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004645/0.1247, allocations: 384.6 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1249, allocations: 42.56 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1249, allocations: 16.94 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.125, allocations: 4 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.125, allocations: 38.5 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.125, allocations: 0 / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005998/0.1256, allocations: 228.7 kB / 0.4928 GB, free: 6.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1257, allocations: 51.41 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008214/0.1265, allocations: 0.8691 MB / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1265, allocations: 25.7 kB / 0.4937 GB, free: 5.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.1267, allocations: 220.2 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1267, allocations: 23.81 kB / 0.494 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.1268, allocations: 17.72 kB / 0.494 GB, free: 5.336 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1269, allocations: 362.8 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.127, allocations: 19.98 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.1271, allocations: 23.98 kB / 0.4944 GB, free: 4.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1272, allocations: 44.78 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1272, allocations: 4 kB / 0.4944 GB, free: 4.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00023/0.1275, allocations: 121.8 kB / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1275, allocations: 4 kB / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1275, allocations: 0 / 0.4945 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1275, allocations: 4 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.795e-05/0.1276, allocations: 12 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1276, allocations: 3.938 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.1277, allocations: 15.97 kB / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.1277, allocations: 0 / 0.4946 GB, free: 4.715 MB / 382.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 (5): * Single equations (assignments): 5 * 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.0001872/0.1279, allocations: 209.7 kB / 0.4948 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.128, allocations: 55.66 kB / 0.4948 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.1283, allocations: 132.9 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1283, allocations: 8 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1283, allocations: 3.938 kB / 0.495 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1283, allocations: 0 / 0.495 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.129, allocations: 450.5 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.129, allocations: 3.984 kB / 0.4954 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.129, allocations: 8 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1291, allocations: 3.938 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1291, allocations: 8 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.1291, allocations: 7.938 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1291, allocations: 0 / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1294, allocations: 211.5 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.1295, allocations: 112.8 kB / 0.4957 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.1295, allocations: 3.938 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.1296, allocations: 7.984 kB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1297, allocations: 12 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.1297, allocations: 0 / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006192/0.1303, allocations: 0.655 MB / 0.4964 GB, free: 2.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1303, allocations: 0 / 0.4964 GB, free: 2.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.1306, allocations: 23.94 kB / 0.4964 GB, free: 2.719 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001382/0.132, allocations: 1.065 MB / 0.4974 GB, free: 1.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1322, allocations: 43.97 kB / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1322, allocations: 0 / 0.4975 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-05/0.1323, allocations: 27.92 kB / 0.4975 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.1327, allocations: 29.7 kB / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.1364, allocations: 3.199 MB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.1369, allocations: 0.8182 MB / 0.5015 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.448e-05/0.1369, allocations: 11.98 kB / 0.5015 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.1371, allocations: 103.4 kB / 0.5016 GB, free: 13.32 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1371, allocations: 3.938 kB / 0.5016 GB, free: 13.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.164, allocations: 5.974 MB / 0.5074 GB, free: 7.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.482, allocations: 3.906 kB / 0.5074 GB, free: 7.32 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches