Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001525/0.001525, allocations: 111 kB / 16.41 MB, free: 6.43 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.001704/0.001704, allocations: 189 kB / 17.34 MB, free: 5.727 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.566/1.566, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2202/0.2202, allocations: 43.53 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.001849/0.00185, allocations: 68.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1111, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003055/0.1142, allocations: 1.623 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006395/0.1149, allocations: 343.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.115, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.1153, allocations: 63.8 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1155, allocations: 51.75 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1159, allocations: 151.7 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1161, allocations: 79.75 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1162, allocations: 23.97 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.584e-05/0.1163, allocations: 31.91 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.469e-05/0.1164, allocations: 43.83 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.1164, allocations: 4 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.649e-05/0.1165, allocations: 39.92 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.1166, allocations: 23.91 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.1166, allocations: 31.75 kB / 0.4898 GB, free: 9.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1168, allocations: 95.58 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1168, allocations: 4 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1168, allocations: 0 / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1168, allocations: 0 / 0.4899 GB, free: 9.695 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.0005078/0.1173, allocations: 418.8 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1174, allocations: 11.89 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1174, allocations: 34.75 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1175, allocations: 12.84 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1177, allocations: 200.1 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1177, allocations: 8.375 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1177, allocations: 8.375 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1179, allocations: 61.61 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1179, allocations: 0 / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1179, allocations: 3.984 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1179, allocations: 0 / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1181, allocations: 43.95 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.1185, allocations: 316.7 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1186, allocations: 50.55 kB / 0.491 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.1187, allocations: 24.94 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1187, allocations: 4 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.1188, allocations: 30.56 kB / 0.4911 GB, free: 8.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1188, allocations: 4 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007638/0.1195, allocations: 229.2 kB / 0.4913 GB, free: 8.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1196, allocations: 51.41 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1198, allocations: 194.2 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1198, allocations: 29.7 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.1199, allocations: 108.1 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1199, allocations: 31.69 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.1199, allocations: 21.72 kB / 0.4917 GB, free: 7.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.12, allocations: 318.8 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1202, allocations: 43.95 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1203, allocations: 35.97 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1205, allocations: 92.86 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1205, allocations: 0 / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002752/0.1208, allocations: 117.6 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1208, allocations: 12 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1208, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1209, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.121, allocations: 23.92 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.121, allocations: 4.25 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.1211, allocations: 15.92 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1211, allocations: 4 kB / 0.4924 GB, free: 6.949 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 8.652e-05/0.1212, allocations: 125.8 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.1212, allocations: 19.91 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.1216, allocations: 138.3 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1216, allocations: 0 / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1216, allocations: 3.938 kB / 0.4927 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1216, allocations: 3.938 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.1221, allocations: 414.5 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1221, allocations: 0 / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.1222, allocations: 19.98 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1222, allocations: 0 / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1222, allocations: 3.938 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.1223, allocations: 3.984 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1223, allocations: 4 kB / 0.4931 GB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.1226, allocations: 231.3 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.1226, allocations: 89.05 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1227, allocations: 7.938 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.009e-05/0.1228, allocations: 7.984 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.1228, allocations: 7.984 kB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1228, allocations: 0 / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.1229, allocations: 160 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1229, allocations: 0 / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1232, allocations: 23.92 kB / 0.4936 GB, free: 5.602 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.001352/0.1246, allocations: 1.057 MB / 0.4946 GB, free: 4.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.1249, allocations: 87.92 kB / 0.4947 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1249, allocations: 0 / 0.4947 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.125, allocations: 47.91 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1254, allocations: 27.11 kB / 0.4948 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.1273, allocations: 1.722 MB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1275, allocations: 0.708 MB / 0.4971 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.66e-05/0.1276, allocations: 32.62 kB / 0.4972 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.1277, allocations: 31.38 kB / 0.4972 GB, free: 1.805 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1277, allocations: 0 / 0.4972 GB, free: 1.805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.1479, allocations: 3.021 MB / 0.5002 GB, free: 14.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.583/7.731, allocations: 8 kB / 0.5002 GB, free: 14.75 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches