Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001167/0.001167, allocations: 103.6 kB / 16.4 MB, free: 6.5 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.00115/0.00115, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.526/1.526, 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.208/0.208, allocations: 43.52 MB / 314.1 MB, free: 460 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.001509/0.001509, allocations: 69.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1081, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003603/0.1118, allocations: 1.62 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006918/0.1125, allocations: 339.5 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.1126, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.1129, allocations: 83.77 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1131, allocations: 55.8 kB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.1135, allocations: 151.7 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1137, allocations: 83.69 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1138, allocations: 27.97 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.1139, allocations: 35.89 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1141, allocations: 47.83 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1141, allocations: 4 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1142, allocations: 35.98 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.1143, allocations: 27.91 kB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.1143, allocations: 31.75 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1146, allocations: 111.4 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1146, allocations: 0 / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1146, allocations: 0 / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1146, allocations: 0 / 0.49 GB, free: 9.621 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.0006696/0.1153, allocations: 422.2 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.1154, allocations: 15.89 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.315e-05/0.1154, allocations: 34.75 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.1155, allocations: 12.89 kB / 0.4904 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1158, allocations: 204.8 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1158, allocations: 4.375 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.1158, allocations: 384 / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.116, allocations: 77.5 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1161, allocations: 0 / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1161, allocations: 8 kB / 0.4907 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1161, allocations: 3.938 kB / 0.4907 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.1162, allocations: 35.97 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.1167, allocations: 316.8 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.1169, allocations: 46.5 kB / 0.4911 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.574e-05/0.117, allocations: 24.94 kB / 0.4911 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.117, allocations: 4 kB / 0.4911 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.117, allocations: 38.55 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.117, allocations: 0 / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008505/0.1179, allocations: 233.2 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.118, allocations: 55.41 kB / 0.4914 GB, free: 7.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.1182, allocations: 216.3 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1182, allocations: 25.7 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.1183, allocations: 108.1 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.1183, allocations: 27.86 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.32e-05/0.1184, allocations: 21.7 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1185, allocations: 322.8 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1186, allocations: 43.97 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1187, allocations: 35.97 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.119, allocations: 84.8 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.119, allocations: 3.938 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002865/0.1193, allocations: 137.5 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1193, allocations: 4 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1193, allocations: 0 / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1193, allocations: 0 / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1194, allocations: 19.98 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1195, allocations: 0 / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.1195, allocations: 15.92 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1195, allocations: 0 / 0.4925 GB, free: 6.844 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.963e-05/0.1196, allocations: 137.8 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.1197, allocations: 7.953 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.12, allocations: 146.9 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.12, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.12, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.12, allocations: 7.938 kB / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005278/0.1206, allocations: 422.7 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1206, allocations: 0 / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.1207, allocations: 23.98 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1207, allocations: 0 / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1207, allocations: 3.938 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1207, allocations: 4 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1207, allocations: 0 / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.121, allocations: 227.5 kB / 0.4934 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.1211, allocations: 93 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.1211, allocations: 3.938 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.1212, allocations: 11.94 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.1213, allocations: 11.98 kB / 0.4935 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1213, allocations: 4 kB / 0.4935 GB, free: 5.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.1214, allocations: 159.5 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1215, allocations: 0 / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1217, allocations: 23.98 kB / 0.4937 GB, free: 5.469 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.001399/0.1231, allocations: 1.058 MB / 0.4947 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.1234, allocations: 91.86 kB / 0.4948 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1234, allocations: 0 / 0.4948 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1236, allocations: 55.97 kB / 0.4949 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1239, allocations: 19.83 kB / 0.4949 GB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.1259, allocations: 1.753 MB / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1261, allocations: 0.7158 MB / 0.4973 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.31e-05/0.1262, allocations: 24.95 kB / 0.4973 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.1263, allocations: 31.42 kB / 0.4973 GB, free: 1.637 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1263, allocations: 0 / 0.4973 GB, free: 1.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.1447, allocations: 3.109 MB / 0.5004 GB, free: 14.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/7.781, allocations: 11.94 kB / 0.5004 GB, free: 14.5 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_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_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches