Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test10",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.00146/0.00146, allocations: 102.9 kB / 16.27 MB, free: 6.41 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.001495/0.001496, allocations: 190.5 kB / 17.2 MB, free: 5.953 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.338/1.338, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2086/0.2086, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 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.001515/0.001515, allocations: 73.08 kB / 382.8 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09915/0.1007, allocations: 57.8 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002835/0.1036, allocations: 1.597 MB / 442.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1047, allocations: 0.9689 MB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.1048, allocations: 0 / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.105, allocations: 23.86 kB / 443.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.1052, allocations: 47.78 kB / 443.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1055, allocations: 154.6 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.1057, allocations: 63.84 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1058, allocations: 23.97 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.1058, allocations: 23.92 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.106, allocations: 31.84 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.106, allocations: 7.938 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.355e-05/0.1061, allocations: 47.98 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.1062, allocations: 15.92 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.1062, allocations: 35.78 kB / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1064, allocations: 95.77 kB / 443.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1064, allocations: 8 kB / 443.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1064, allocations: 0 / 443.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1064, allocations: 0 / 443.8 MB, free: 3.648 MB / 318.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.000473/0.1069, allocations: 399.2 kB / 444.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1069, allocations: 11.89 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.107, allocations: 30.75 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.107, allocations: 8.844 kB / 444.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1072, allocations: 204 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1072, allocations: 8.375 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1072, allocations: 8.359 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1074, allocations: 75.31 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1074, allocations: 4 kB / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1074, allocations: 0 / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1074, allocations: 0 / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1075, allocations: 43.91 kB / 444.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1079, allocations: 300.8 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.108, allocations: 46.55 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.1081, allocations: 24.94 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1081, allocations: 12.06 kB / 444.9 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1081, allocations: 30.56 kB / 444.9 MB, free: 2.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1082, allocations: 3.938 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006982/0.1089, allocations: 217.2 kB / 445.2 MB, free: 2.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.1089, allocations: 89.05 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1091, allocations: 147 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1091, allocations: 25.7 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.1091, allocations: 100 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.1092, allocations: 27.64 kB / 445.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.1092, allocations: 17.72 kB / 445.6 MB, free: 1.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.1093, allocations: 322.8 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.1094, allocations: 35.97 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1095, allocations: 49.69 kB / 446 MB, free: 1.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1097, allocations: 88.8 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1097, allocations: 0 / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002441/0.1099, allocations: 129.5 kB / 446.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.11, allocations: 10.81 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.11, allocations: 4 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.11, allocations: 0 / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1101, allocations: 23.98 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1101, allocations: 3.938 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.1102, allocations: 11.98 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1102, allocations: 4 kB / 446.2 MB, free: 0.9336 MB / 318.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 6.834e-05/0.1103, allocations: 121.8 kB / 446.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.1103, allocations: 7.906 kB / 446.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.1106, allocations: 142.2 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1106, allocations: 0 / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1107, allocations: 7.938 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1107, allocations: 4 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.1111, allocations: 402.9 kB / 446.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1111, allocations: 0 / 446.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.1112, allocations: 27.92 kB / 446.9 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1112, allocations: 3.938 kB / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1112, allocations: 7.984 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1112, allocations: 4 kB / 446.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1112, allocations: 0 / 446.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.1115, allocations: 215.6 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.1116, allocations: 81.02 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1116, allocations: 7.938 kB / 447.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.1117, allocations: 15.98 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.1118, allocations: 7.984 kB / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1118, allocations: 288 / 447.3 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.354e-05/0.1119, allocations: 107.3 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1119, allocations: 0 / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1122, allocations: 27.98 kB / 447.4 MB, free: 15.65 MB / 334.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.001628/0.1138, allocations: 1.106 MB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.1142, allocations: 91.88 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1142, allocations: 4 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1143, allocations: 47.95 kB / 448.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1147, allocations: 18.02 kB / 448.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1168, allocations: 1.593 MB / 450.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.1172, allocations: 0.7002 MB / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.1173, allocations: 32.62 kB / 451 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.1174, allocations: 23.42 kB / 451 MB, free: 12 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1174, allocations: 0 / 451 MB, free: 12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.1401, allocations: 3.05 MB / 454.1 MB, free: 8.914 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.65/7.79, allocations: 11.73 kB / 454.1 MB, free: 8.902 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_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_CombiTable2Dv_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches