Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001409/0.001409, allocations: 102.9 kB / 16.4 MB, free: 6.461 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.001354/0.001354, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2141/0.2141, 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.002001/0.002001, allocations: 78.02 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1044, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003038/0.1075, allocations: 1.55 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006183/0.1081, allocations: 323.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.1082, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1085, allocations: 123.7 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.1088, allocations: 91.7 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.109, allocations: 71.78 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1092, allocations: 79.86 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1093, allocations: 11.98 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.1094, allocations: 51.81 kB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1095, allocations: 75.84 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1096, allocations: 3.938 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.061e-05/0.1096, allocations: 31.94 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.1097, allocations: 27.92 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.1098, allocations: 31.73 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.11, allocations: 103.5 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.11, allocations: 4 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.11, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.11, allocations: 0 / 0.4899 GB, free: 9.699 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.0005899/0.1106, allocations: 418.6 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.1107, allocations: 23.81 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.1107, allocations: 30.75 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1108, allocations: 16.84 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.111, allocations: 215.9 kB / 0.4906 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.111, allocations: 384 / 0.4906 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.111, allocations: 4.375 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1112, allocations: 49.62 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1112, allocations: 0 / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1112, allocations: 0 / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1112, allocations: 0 / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.1113, allocations: 27.97 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1117, allocations: 292.8 kB / 0.4909 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.1119, allocations: 38.56 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.112, allocations: 20.94 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.112, allocations: 0 / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.112, allocations: 34.56 kB / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.112, allocations: 0 / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005452/0.1126, allocations: 153.3 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1126, allocations: 51.41 kB / 0.4912 GB, free: 8.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.1129, allocations: 274.2 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1129, allocations: 25.7 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.113, allocations: 116.1 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.113, allocations: 7.906 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.1131, allocations: 21.7 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1132, allocations: 326.8 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.084e-05/0.1133, allocations: 23.92 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.976e-05/0.1134, allocations: 24.05 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1135, allocations: 44.78 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1135, allocations: 0 / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001819/0.1137, allocations: 93.56 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1137, allocations: 4 kB / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1137, allocations: 0 / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1137, allocations: 0 / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.138e-05/0.1138, allocations: 8 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1138, allocations: 11.88 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.846e-05/0.1139, allocations: 3.984 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1139, allocations: 11.94 kB / 0.4922 GB, free: 7.137 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 0.0001036/0.114, allocations: 137.8 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.114, allocations: 11.91 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.1143, allocations: 90.66 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1143, allocations: 0 / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1143, allocations: 0 / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1143, allocations: 3.984 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.1147, allocations: 370.7 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1147, allocations: 64 / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.1148, allocations: 16 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1148, allocations: 0 / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.1148, allocations: 0 / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1148, allocations: 3.938 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1148, allocations: 3.984 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.1151, allocations: 187.4 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.1151, allocations: 89.02 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1151, allocations: 0 / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.1152, allocations: 11.92 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.1153, allocations: 4 kB / 0.4931 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1153, allocations: 4 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.1154, allocations: 203.2 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1155, allocations: 4 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1157, allocations: 11.94 kB / 0.4933 GB, free: 5.898 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.001864/0.1176, allocations: 1.014 MB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.1178, allocations: 47.97 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1178, allocations: 0 / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.1179, allocations: 23.98 kB / 0.4943 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1182, allocations: 23.92 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.1201, allocations: 1.7 MB / 0.496 GB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1204, allocations: 0.7158 MB / 0.4967 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.915e-05/0.1204, allocations: 8.062 kB / 0.4967 GB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.1205, allocations: 35.42 kB / 0.4968 GB, free: 2.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1205, allocations: 0 / 0.4968 GB, free: 2.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.1448, allocations: 3.024 MB / 0.4997 GB, free: 15.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.14, allocations: 4.266 kB / 0.4997 GB, free: 15.2 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches