Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.001047/0.001047, allocations: 104.8 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.001164/0.001164, 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.321/1.321, 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.1916/0.1916, allocations: 43.53 MB / 314.1 MB, free: 444 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.001394/0.001394, allocations: 73.47 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09711, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002883/0.1, allocations: 1.786 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1014, allocations: 0.8819 MB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.1015, allocations: 3.938 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005341/0.102, allocations: 311.3 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1024, allocations: 211.3 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1027, allocations: 135.7 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.1031, allocations: 247.3 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.1031, allocations: 13.55 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1033, allocations: 135.5 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1035, allocations: 195.5 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1035, allocations: 7.984 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.188e-05/0.1036, allocations: 43.98 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1038, allocations: 135.5 kB / 0.4914 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1039, allocations: 150.8 kB / 0.4916 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.1043, allocations: 362.3 kB / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1043, allocations: 0 / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1043, allocations: 0 / 0.4919 GB, free: 7.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1043, allocations: 0 / 0.4919 GB, free: 7.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008709/0.1052, allocations: 0.754 MB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1052, allocations: 11.89 kB / 0.4927 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.1053, allocations: 38.69 kB / 0.4927 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.1053, allocations: 52.59 kB / 0.4928 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.1059, allocations: 452.4 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.106, allocations: 4.359 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.106, allocations: 15.92 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1062, allocations: 91.31 kB / 0.4933 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1062, allocations: 0 / 0.4933 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.1062, allocations: 0 / 0.4933 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1062, allocations: 0 / 0.4933 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1063, allocations: 27.97 kB / 0.4933 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1067, allocations: 374.4 kB / 0.4937 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.107, allocations: 113.1 kB / 0.4938 GB, free: 5.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.19e-05/0.1071, allocations: 37.7 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.1071, allocations: 3.984 kB / 0.4938 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.1074, allocations: 113 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.1074, allocations: 0 / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005081/0.1079, allocations: 197.2 kB / 0.4941 GB, free: 5.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.108, allocations: 81.11 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.1091, allocations: 1.034 MB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1091, allocations: 25.7 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1093, allocations: 240.1 kB / 0.4955 GB, free: 3.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.1093, allocations: 31.77 kB / 0.4955 GB, free: 3.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.1094, allocations: 25.72 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1095, allocations: 374.8 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.1096, allocations: 27.98 kB / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.1097, allocations: 55.36 kB / 0.496 GB, free: 3.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1099, allocations: 95.84 kB / 0.4961 GB, free: 3.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1099, allocations: 3.938 kB / 0.4961 GB, free: 3.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003402/0.1103, allocations: 177.2 kB / 0.4962 GB, free: 2.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1103, allocations: 4 kB / 0.4962 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1103, allocations: 0 / 0.4962 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1103, allocations: 8.062 kB / 0.4962 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.1105, allocations: 23.92 kB / 0.4963 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1105, allocations: 4 kB / 0.4963 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.1106, allocations: 7.984 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1106, allocations: 4 kB / 0.4963 GB, free: 2.867 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002293/0.1108, allocations: 229.6 kB / 0.4965 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.111, allocations: 51.66 kB / 0.4965 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.1111, allocations: 60 kB / 0.4966 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1111, allocations: 4 kB / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1111, allocations: 0 / 0.4966 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1111, allocations: 4 kB / 0.4966 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.1115, allocations: 341.3 kB / 0.4969 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1115, allocations: 4 kB / 0.4969 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.1116, allocations: 7.984 kB / 0.4969 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1116, allocations: 0 / 0.4969 GB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1116, allocations: 8 kB / 0.497 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1116, allocations: 0 / 0.497 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1116, allocations: 0 / 0.497 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.112, allocations: 217.6 kB / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.1122, allocations: 140.8 kB / 0.4973 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.1123, allocations: 4 kB / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.1123, allocations: 4 kB / 0.4973 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1124, allocations: 7.984 kB / 0.4973 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1124, allocations: 4 kB / 0.4973 GB, free: 1.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.1134, allocations: 0.7799 MB / 0.4981 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1134, allocations: 0 / 0.4981 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.1137, allocations: 40 kB / 0.4981 GB, free: 0.8867 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001456/0.1152, allocations: 1.059 MB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.1155, allocations: 83.91 kB / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1155, allocations: 0 / 0.4992 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1157, allocations: 43.91 kB / 0.4993 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.1161, allocations: 70.09 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.1221, allocations: 4.524 MB / 0.5038 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007248/0.1228, allocations: 0.8426 MB / 0.5046 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.123, allocations: 54.95 kB / 0.5046 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.1232, allocations: 151.4 kB / 0.5048 GB, free: 9.953 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1232, allocations: 0 / 0.5048 GB, free: 9.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.1524, allocations: 8.94 MB / 0.5135 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.894/9.046, allocations: 0 / 0.5135 GB, free: 0.9766 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5115]=8000.000000 File[555]=2048.000000 " Variables in the reference:time,startTime_0.y[1],startTime.y[1] Variables in the result:time,startTime.y[1],startTime_0.y[1],startTime.offset[1],startTime.shiftTime,startTime.startTime