Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test12",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.001292/0.001298, allocations: 100.3 kB / 16.4 MB, free: 6.469 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.001211/0.001211, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.324/1.324, 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.1962/0.1962, 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.001532/0.001532, allocations: 77.61 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1065, allocations: 57.81 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.003314/0.1098, allocations: 1.608 MB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1115, allocations: 0.9417 MB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.86e-05/0.1116, allocations: 0 / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1119, allocations: 23.86 kB / 0.4899 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.1122, allocations: 43.78 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.1126, allocations: 107.8 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.1128, allocations: 71.75 kB / 0.4901 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1129, allocations: 12.19 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/0.113, allocations: 19.92 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1132, allocations: 35.83 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1132, allocations: 4 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.1134, allocations: 51.92 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.1134, allocations: 19.92 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.1135, allocations: 27.8 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.1138, allocations: 103.6 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1138, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1138, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1138, allocations: 0 / 0.4904 GB, free: 9.164 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.0005935/0.1144, allocations: 395 kB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.1145, allocations: 11.89 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.1145, allocations: 34.75 kB / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.1146, allocations: 16.88 kB / 0.4908 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1148, allocations: 196.1 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1149, allocations: 4.375 kB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1149, allocations: 12.06 kB / 0.4911 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1151, allocations: 75.38 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1151, allocations: 0 / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1152, allocations: 0 / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1152, allocations: 0 / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1153, allocations: 35.97 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.1157, allocations: 296.8 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1159, allocations: 38.56 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/0.116, allocations: 20.94 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.116, allocations: 8 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.116, allocations: 30.56 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.116, allocations: 0 / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008024/0.1168, allocations: 217.3 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.1169, allocations: 77.11 kB / 0.4918 GB, free: 7.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1171, allocations: 145.1 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1171, allocations: 25.7 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.1172, allocations: 96.12 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.1172, allocations: 27.75 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.1173, allocations: 21.66 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1174, allocations: 322.8 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1176, allocations: 35.97 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1177, allocations: 45.69 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1179, allocations: 68.81 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1179, allocations: 4.031 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002934/0.1182, allocations: 113.6 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1183, allocations: 4 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1183, allocations: 3.938 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1183, allocations: 0 / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1184, allocations: 23.97 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1184, allocations: 3.938 kB / 0.4927 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.1185, allocations: 12 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1185, allocations: 0 / 0.4927 GB, free: 6.539 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.0001111/0.1187, allocations: 125.8 kB / 0.4928 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.1187, allocations: 7.953 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.1191, allocations: 122.3 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1191, allocations: 4 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.1191, allocations: 15.88 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1191, allocations: 0 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.1197, allocations: 386.5 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1197, allocations: 0 / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.1198, allocations: 19.98 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.1198, allocations: 3.938 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1198, allocations: 7.938 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1198, allocations: 480 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1198, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.1201, allocations: 207.5 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.1202, allocations: 85.33 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1202, allocations: 11.94 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.1203, allocations: 8 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1204, allocations: 11.97 kB / 0.4937 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1204, allocations: 0 / 0.4937 GB, free: 5.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.1205, allocations: 115.2 kB / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1205, allocations: 0 / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1208, allocations: 19.94 kB / 0.4938 GB, free: 5.301 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.001573/0.1223, allocations: 1.084 MB / 0.4949 GB, free: 4.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.1227, allocations: 83.92 kB / 0.495 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1227, allocations: 0 / 0.495 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1228, allocations: 43.91 kB / 0.495 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1232, allocations: 19.89 kB / 0.495 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.1251, allocations: 1.519 MB / 0.4965 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.1254, allocations: 0.6963 MB / 0.4972 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.746e-05/0.1255, allocations: 21.06 kB / 0.4972 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.1256, allocations: 27.42 kB / 0.4972 GB, free: 1.723 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1256, allocations: 0 / 0.4972 GB, free: 1.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.1474, allocations: 3.037 MB / 0.5002 GB, free: 14.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.024, allocations: 16.03 kB / 0.5002 GB, free: 14.61 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_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_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches