Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",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.001607/0.001607, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001771/0.001771, allocations: 189.5 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.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2197/0.2197, allocations: 43.53 MB / 314.1 MB, free: 464 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.001492/0.001492, allocations: 79.88 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.1002, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.00295/0.1032, allocations: 1.612 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006222/0.1038, allocations: 331.5 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.1039, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005275/0.1045, allocations: 447.2 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.1049, allocations: 263.4 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1052, allocations: 107.8 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1055, allocations: 167.6 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.1056, allocations: 12.17 kB / 0.4903 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.1057, allocations: 107.8 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1059, allocations: 211.6 kB / 0.4906 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.106, allocations: 0 / 0.4906 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.006e-05/0.106, allocations: 39.97 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1062, allocations: 79.69 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.1062, allocations: 102.9 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1066, allocations: 270.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1066, allocations: 4 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1066, allocations: 0 / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1066, allocations: 0 / 0.491 GB, free: 8.57 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.0009268/0.1075, allocations: 0.653 MB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1076, allocations: 11.89 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.1076, allocations: 38.73 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.1077, allocations: 48.61 kB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.108, allocations: 304.6 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.108, allocations: 4.375 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1081, allocations: 4.125 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1082, allocations: 57.67 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1082, allocations: 0 / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1083, allocations: 0 / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1083, allocations: 4 kB / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1084, allocations: 35.97 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.1089, allocations: 388.6 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.109, allocations: 46.55 kB / 0.4926 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.1091, allocations: 20.94 kB / 0.4926 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1091, allocations: 4 kB / 0.4926 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.1092, allocations: 34.56 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1092, allocations: 0 / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008056/0.11, allocations: 300.7 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.11, allocations: 51.41 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.1108, allocations: 0.8612 MB / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1108, allocations: 29.64 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.111, allocations: 216.1 kB / 0.494 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.111, allocations: 27.75 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.1111, allocations: 21.7 kB / 0.4941 GB, free: 5.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1112, allocations: 366.7 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.1113, allocations: 35.97 kB / 0.4945 GB, free: 4.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.752e-05/0.1114, allocations: 35.91 kB / 0.4945 GB, free: 4.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1117, allocations: 77.03 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1117, allocations: 0 / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002857/0.112, allocations: 145.3 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.112, allocations: 8 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.112, allocations: 0 / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.112, allocations: 0 / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1121, allocations: 23.98 kB / 0.4947 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1121, allocations: 7.875 kB / 0.4948 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.1122, allocations: 7.984 kB / 0.4948 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1122, allocations: 8 kB / 0.4948 GB, free: 4.496 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 (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 0.0001708/0.1124, allocations: 217.7 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.1125, allocations: 39.72 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.1128, allocations: 161.4 kB / 0.4952 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1129, allocations: 0 / 0.4952 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.1129, allocations: 7.938 kB / 0.4952 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1129, allocations: 7.984 kB / 0.4952 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006039/0.1135, allocations: 494.4 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1135, allocations: 0 / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.1136, allocations: 19.98 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1136, allocations: 3.938 kB / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.1136, allocations: 4 kB / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1136, allocations: 0 / 0.4957 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1136, allocations: 4 kB / 0.4957 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.114, allocations: 247.1 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.1141, allocations: 112.8 kB / 0.496 GB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1141, allocations: 3.938 kB / 0.496 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1142, allocations: 15.98 kB / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.1142, allocations: 7.984 kB / 0.4961 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1143, allocations: 4 kB / 0.4961 GB, free: 3.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005689/0.1148, allocations: 0.6472 MB / 0.4967 GB, free: 2.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1148, allocations: 4 kB / 0.4967 GB, free: 2.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.1151, allocations: 24 kB / 0.4967 GB, free: 2.391 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 (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.001445/0.1165, allocations: 1.088 MB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.1169, allocations: 71.94 kB / 0.4979 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1169, allocations: 0 / 0.4979 GB, free: 1.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.117, allocations: 47.91 kB / 0.4979 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.1174, allocations: 29.23 kB / 0.4979 GB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.1213, allocations: 3.28 MB / 0.5011 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1218, allocations: 0.826 MB / 0.5019 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.575e-05/0.1218, allocations: 8.672 kB / 0.5019 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.122, allocations: 107.3 kB / 0.502 GB, free: 12.84 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.122, allocations: 0 / 0.502 GB, free: 12.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.147, allocations: 6.091 MB / 0.508 GB, free: 6.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.341, allocations: 11.84 kB / 0.508 GB, free: 6.715 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_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_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches