Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001557/0.001557, allocations: 109.8 kB / 16.41 MB, free: 6.488 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.00172/0.00172, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.419/1.419, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2254/0.2254, allocations: 43.53 MB / 314.1 MB, free: 468 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.001491/0.001491, allocations: 63.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.002714/0.1097, allocations: 1.558 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005733/0.1103, allocations: 323.4 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.1104, allocations: 4 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.1106, allocations: 23.86 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1108, allocations: 39.77 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.111, allocations: 75.84 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1111, allocations: 55.83 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.1113, allocations: 19.92 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.169e-05/0.1113, allocations: 19.92 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.1114, allocations: 11.92 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.1114, allocations: 4 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.1115, allocations: 31.98 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/0.1115, allocations: 11.92 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.1115, allocations: 27.81 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1117, allocations: 75.67 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1117, allocations: 0 / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1117, allocations: 0 / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1117, allocations: 3.938 kB / 0.4896 GB, free: 10.02 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.0004538/0.1122, allocations: 383 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1122, allocations: 15.89 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.1123, allocations: 30.75 kB / 0.49 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.1123, allocations: 8.891 kB / 0.49 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1125, allocations: 196.2 kB / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-06/0.1125, allocations: 384 / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1125, allocations: 8.375 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1127, allocations: 45.62 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1127, allocations: 0 / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1127, allocations: 3.938 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1127, allocations: 4 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.912e-05/0.1128, allocations: 23.97 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.1132, allocations: 276.8 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1134, allocations: 38.56 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.1134, allocations: 24.88 kB / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1134, allocations: 0 / 0.4906 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1135, allocations: 34.56 kB / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1135, allocations: 4 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005141/0.114, allocations: 133.4 kB / 0.4908 GB, free: 8.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1141, allocations: 51.41 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1142, allocations: 160.5 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1142, allocations: 25.7 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.1143, allocations: 96.12 kB / 0.4911 GB, free: 8.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.1143, allocations: 27.73 kB / 0.4911 GB, free: 8.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.1143, allocations: 13.72 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1144, allocations: 326.8 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.1145, allocations: 15.98 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.1146, allocations: 19.98 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1147, allocations: 49.02 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1147, allocations: 4 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001646/0.1149, allocations: 81.56 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1149, allocations: 8 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1149, allocations: 0 / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1149, allocations: 0 / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.115, allocations: 11.98 kB / 0.4916 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.115, allocations: 4 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.1151, allocations: 3.938 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1151, allocations: 4 kB / 0.4917 GB, free: 7.703 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 (5): * Single equations (assignments): 5 * 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.32e-05/0.1152, allocations: 125.8 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.1152, allocations: 12.17 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.1154, allocations: 93.91 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1154, allocations: 3.984 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1154, allocations: 0 / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1154, allocations: 3.938 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.1158, allocations: 342.6 kB / 0.4922 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1158, allocations: 0 / 0.4922 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.1159, allocations: 15.92 kB / 0.4922 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1159, allocations: 4 kB / 0.4922 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1159, allocations: 3.938 kB / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1159, allocations: 0 / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1159, allocations: 192 / 0.4922 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1161, allocations: 179.5 kB / 0.4924 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.1162, allocations: 85.05 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.1162, allocations: 7.938 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-05/0.1163, allocations: 4 kB / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1163, allocations: 7.984 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1163, allocations: 0 / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.1164, allocations: 116 kB / 0.4926 GB, free: 6.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1164, allocations: 0 / 0.4926 GB, free: 6.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1167, allocations: 19.98 kB / 0.4926 GB, free: 6.59 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 (5): * Single equations (assignments): 5 * 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.001278/0.118, allocations: 1.006 MB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1182, allocations: 47.91 kB / 0.4937 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1182, allocations: 4 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.284e-05/0.1183, allocations: 23.92 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1186, allocations: 27.2 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.1201, allocations: 1.417 MB / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1204, allocations: 0.7002 MB / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.027e-05/0.1204, allocations: 8.062 kB / 0.4958 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.1205, allocations: 23.61 kB / 0.4958 GB, free: 3.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1205, allocations: 0 / 0.4958 GB, free: 3.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.1378, allocations: 2.507 MB / 0.4983 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.027, allocations: 3.984 kB / 0.4983 GB, free: 0.7109 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches