Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test9",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.001303/0.001303, allocations: 105.3 kB / 16.4 MB, free: 6.465 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.001279/0.001279, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.477/1.477, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2166/0.2166, allocations: 43.53 MB / 314.1 MB, free: 440 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.002116/0.002116, allocations: 69.61 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1095, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002927/0.1125, allocations: 1.576 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006359/0.1131, allocations: 303.6 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.1132, allocations: 0 / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005868/0.1138, allocations: 455.1 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.1141, allocations: 259.4 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1144, allocations: 107.8 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.1146, allocations: 159.6 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.1147, allocations: 12 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1149, allocations: 107.8 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.1151, allocations: 207.6 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1151, allocations: 0 / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.1152, allocations: 27.98 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1153, allocations: 79.64 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.711e-05/0.1154, allocations: 99.05 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.1157, allocations: 254.6 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1157, allocations: 3.938 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1157, allocations: 0 / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1157, allocations: 0 / 0.4909 GB, free: 8.645 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007571/0.1165, allocations: 0.6414 MB / 0.4916 GB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1165, allocations: 15.89 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.1166, allocations: 34.75 kB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.1166, allocations: 44.66 kB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.117, allocations: 304.5 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.117, allocations: 384 / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.117, allocations: 4.375 kB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.1172, allocations: 57.61 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1172, allocations: 0 / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1172, allocations: 0 / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1172, allocations: 0 / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1173, allocations: 35.97 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.1178, allocations: 376.8 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.1179, allocations: 46.48 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.118, allocations: 20.94 kB / 0.4925 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.118, allocations: 4 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1181, allocations: 34.56 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1181, allocations: 0 / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003456/0.1184, allocations: 121.3 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1185, allocations: 51.41 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008497/0.1193, allocations: 0.8613 MB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1193, allocations: 25.7 kB / 0.4935 GB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.1195, allocations: 216 kB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1195, allocations: 11.94 kB / 0.4938 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.1196, allocations: 17.66 kB / 0.4938 GB, free: 5.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1198, allocations: 362.7 kB / 0.4941 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.1198, allocations: 11.98 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.1199, allocations: 19.98 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.12, allocations: 40.77 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.12, allocations: 0 / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001936/0.1202, allocations: 109.3 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1203, allocations: 4 kB / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1203, allocations: 4 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1203, allocations: 4 kB / 0.4943 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.1204, allocations: 7.984 kB / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.1204, allocations: 0 / 0.4943 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.1205, allocations: 11.95 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1205, allocations: 4 kB / 0.4943 GB, free: 4.938 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 (3): * Single equations (assignments): 3 * 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.0001988/0.1207, allocations: 213.6 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.1207, allocations: 43.72 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.121, allocations: 117 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.121, allocations: 7.938 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.121, allocations: 0 / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.121, allocations: 4 kB / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1214, allocations: 285.5 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1214, allocations: 4 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1214, allocations: 4 kB / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1215, allocations: 0 / 0.495 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1215, allocations: 4 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1215, allocations: 0 / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1215, allocations: 0 / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003369/0.1218, allocations: 207.5 kB / 0.4952 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1219, allocations: 112.8 kB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.122, allocations: 0 / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1221, allocations: 7.984 kB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.1221, allocations: 8.031 kB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1221, allocations: 0 / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.1228, allocations: 0.655 MB / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1228, allocations: 0 / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.123, allocations: 27.94 kB / 0.496 GB, free: 3.156 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 (3): * Single equations (assignments): 3 * 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.001724/0.1248, allocations: 0.9842 MB / 0.4969 GB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.125, allocations: 35.97 kB / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.125, allocations: 0 / 0.497 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.1251, allocations: 23.92 kB / 0.497 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.1255, allocations: 29.89 kB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.1292, allocations: 3.147 MB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.1296, allocations: 0.8182 MB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.1297, allocations: 7.984 kB / 0.5009 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1298, allocations: 107.4 kB / 0.501 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1298, allocations: 0 / 0.501 GB, free: 13.9 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.1572, allocations: 5.755 MB / 0.5066 GB, free: 8.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/8.591, allocations: 3.938 kB / 0.5066 GB, free: 8.125 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_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_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches