Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001111/0.001111, allocations: 113.8 kB / 16.4 MB, free: 6.379 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.001023/0.001023, allocations: 191 kB / 17.33 MB, free: 5.844 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2001/0.2001, allocations: 43.52 MB / 314.1 MB, free: 456 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.001503/0.001503, allocations: 65.62 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003026/0.1051, allocations: 1.612 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006591/0.1058, allocations: 351.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.1059, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.1064, allocations: 451.1 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.1068, allocations: 259.4 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1072, allocations: 151.7 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.1075, allocations: 167.6 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1076, allocations: 23.97 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1077, allocations: 115.8 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.108, allocations: 215.6 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.108, allocations: 4 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.1081, allocations: 31.98 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.576e-05/0.1082, allocations: 87.67 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.1083, allocations: 103 kB / 0.4909 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003118/0.1086, allocations: 266.6 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1086, allocations: 0 / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1086, allocations: 4 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1086, allocations: 0 / 0.4911 GB, free: 8.473 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.0007403/0.1094, allocations: 0.6607 MB / 0.4918 GB, free: 7.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1094, allocations: 15.89 kB / 0.4918 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.1095, allocations: 38.73 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.1095, allocations: 44.66 kB / 0.4918 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1098, allocations: 296.6 kB / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1099, allocations: 4.375 kB / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.1099, allocations: 384 / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1101, allocations: 77.58 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1101, allocations: 3.938 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1101, allocations: 4 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1101, allocations: 0 / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1102, allocations: 43.89 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.1108, allocations: 400.7 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.1109, allocations: 46.55 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.918e-05/0.111, allocations: 24.94 kB / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.111, allocations: 4 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1111, allocations: 34.5 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1111, allocations: 0 / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008224/0.1119, allocations: 316.6 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.1119, allocations: 55.39 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/0.1127, allocations: 0.8651 MB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1128, allocations: 29.7 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1129, allocations: 216 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1129, allocations: 27.78 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.113, allocations: 21.72 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1131, allocations: 362.8 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1132, allocations: 31.97 kB / 0.4946 GB, free: 4.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.1134, allocations: 39.97 kB / 0.4946 GB, free: 4.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.1136, allocations: 88.8 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1136, allocations: 0 / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003027/0.1139, allocations: 157.3 kB / 0.4949 GB, free: 4.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1139, allocations: 8 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1139, allocations: 0 / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.114, allocations: 4 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1141, allocations: 19.98 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1141, allocations: 0 / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.1142, allocations: 11.92 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1142, allocations: 8 kB / 0.4949 GB, free: 4.316 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.0001821/0.1144, allocations: 217.7 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.1145, allocations: 47.67 kB / 0.4952 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000365/0.1148, allocations: 185.6 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1148, allocations: 0 / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1149, allocations: 7.984 kB / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1149, allocations: 3.938 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.1155, allocations: 0.5101 MB / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1155, allocations: 0 / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.1156, allocations: 23.92 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1156, allocations: 0 / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1156, allocations: 3.938 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1156, allocations: 4.469 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1156, allocations: 0 / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.116, allocations: 255.2 kB / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.1161, allocations: 120.8 kB / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1161, allocations: 3.938 kB / 0.4963 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1162, allocations: 7.984 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.1163, allocations: 4 kB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.1163, allocations: 4 kB / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000563/0.1168, allocations: 0.655 MB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1169, allocations: 4 kB / 0.4969 GB, free: 2.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.1171, allocations: 23.95 kB / 0.4969 GB, free: 2.145 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.00141/0.1185, allocations: 1.11 MB / 0.498 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002829/0.1188, allocations: 87.92 kB / 0.4981 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1188, allocations: 3.938 kB / 0.4981 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.119, allocations: 43.97 kB / 0.4982 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1193, allocations: 25.95 kB / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.1229, allocations: 3.338 MB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1233, allocations: 0.826 MB / 0.5022 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.768e-05/0.1234, allocations: 25.05 kB / 0.5023 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1235, allocations: 127.3 kB / 0.5024 GB, free: 12.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1235, allocations: 3.938 kB / 0.5024 GB, free: 12.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.1458, allocations: 6.165 MB / 0.5084 GB, free: 6.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/8.495, allocations: 7.891 kB / 0.5084 GB, free: 6.266 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_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_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches