Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001317/0.001317, allocations: 101.4 kB / 16.4 MB, free: 6.457 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.001381/0.001381, allocations: 188.2 kB / 17.34 MB, free: 5.719 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.486/1.486, 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.2083/0.2083, allocations: 43.51 MB / 314.1 MB, free: 464 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.001352/0.001352, allocations: 77.44 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09876, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003079/0.1019, allocations: 1.554 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.1026, allocations: 319.5 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.1027, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.103, allocations: 111.7 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.1033, allocations: 75.72 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1036, allocations: 75.78 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1038, allocations: 79.8 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1039, allocations: 11.98 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.104, allocations: 39.83 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.1041, allocations: 63.88 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.1042, allocations: 4 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1043, allocations: 31.98 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.1044, allocations: 23.86 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.1044, allocations: 31.75 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1046, allocations: 95.52 kB / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1046, allocations: 0 / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1047, allocations: 0 / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1047, allocations: 0 / 0.4898 GB, free: 9.766 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.0005472/0.1052, allocations: 422.7 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.1053, allocations: 11.89 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.1053, allocations: 34.69 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.1054, allocations: 12.84 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.1056, allocations: 204.1 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1056, allocations: 4.375 kB / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.1056, allocations: 4.375 kB / 0.4905 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1058, allocations: 53.56 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1058, allocations: 0 / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1058, allocations: 0 / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1059, allocations: 4 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.106, allocations: 23.97 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.1064, allocations: 280.9 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1066, allocations: 42.5 kB / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.1067, allocations: 20.94 kB / 0.4909 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1067, allocations: 4 kB / 0.4909 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1067, allocations: 34.56 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1067, allocations: 4 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006063/0.1074, allocations: 149.5 kB / 0.4911 GB, free: 8.305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1074, allocations: 51.41 kB / 0.4911 GB, free: 8.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1077, allocations: 250.6 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1077, allocations: 25.7 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.1078, allocations: 108.1 kB / 0.4915 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1078, allocations: 15.86 kB / 0.4915 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.1079, allocations: 21.7 kB / 0.4915 GB, free: 7.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.108, allocations: 326.8 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.1081, allocations: 19.98 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.648e-05/0.1081, allocations: 15.98 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1083, allocations: 48.78 kB / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1083, allocations: 3.938 kB / 0.4919 GB, free: 7.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001803/0.1085, allocations: 81.61 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1085, allocations: 8 kB / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1085, allocations: 0 / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1085, allocations: 0 / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.1086, allocations: 15.98 kB / 0.492 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1086, allocations: 0 / 0.492 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.1087, allocations: 7.938 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1087, allocations: 11.94 kB / 0.4921 GB, free: 7.254 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.0001154/0.1088, allocations: 129.8 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.1088, allocations: 11.91 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.1091, allocations: 98.59 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.1091, allocations: 4 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1091, allocations: 320 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1091, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004639/0.1096, allocations: 366.4 kB / 0.4926 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1096, allocations: 0 / 0.4926 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.569e-05/0.1097, allocations: 11.98 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1097, allocations: 0 / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1097, allocations: 0 / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.1097, allocations: 7.938 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1097, allocations: 4 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.11, allocations: 179.4 kB / 0.4928 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.1101, allocations: 85.06 kB / 0.4929 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.1101, allocations: 0 / 0.4929 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.1102, allocations: 11.94 kB / 0.4929 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.1102, allocations: 3.984 kB / 0.4929 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.1102, allocations: 11.94 kB / 0.4929 GB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1104, allocations: 183.2 kB / 0.4931 GB, free: 6.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1104, allocations: 0 / 0.4931 GB, free: 6.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1107, allocations: 15.94 kB / 0.4931 GB, free: 6.043 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.001491/0.1122, allocations: 1.013 MB / 0.4941 GB, free: 5.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.1124, allocations: 47.91 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1125, allocations: 0 / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.1126, allocations: 27.97 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.113, allocations: 15.94 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.1152, allocations: 1.644 MB / 0.4958 GB, free: 3.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.1156, allocations: 0.7119 MB / 0.4965 GB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.148e-05/0.1157, allocations: 8.062 kB / 0.4965 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.1158, allocations: 31.42 kB / 0.4966 GB, free: 2.453 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1158, allocations: 0 / 0.4966 GB, free: 2.453 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.1379, allocations: 2.904 MB / 0.4994 GB, free: 15.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.822, allocations: 4.062 kB / 0.4994 GB, free: 15.54 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches