Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.001098/0.001098, allocations: 108 kB / 16.41 MB, free: 6.484 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.001096/0.001096, allocations: 188.1 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.335/1.335, 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.2047/0.2047, allocations: 43.52 MB / 314.1 MB, free: 472 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.001383/0.001383, allocations: 75.88 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.101, allocations: 57.78 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003471/0.1046, allocations: 1.786 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.1061, allocations: 0.8702 MB / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1062, allocations: 7.938 kB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.1068, allocations: 303.3 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.1073, allocations: 207.4 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.1077, allocations: 147.6 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.1081, allocations: 235.4 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.1081, allocations: 17.52 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.1084, allocations: 135.4 kB / 0.4911 GB, free: 8.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.1087, allocations: 188 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.1087, allocations: 12 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1088, allocations: 39.94 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.109, allocations: 128.6 kB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1092, allocations: 142.8 kB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.1096, allocations: 370.2 kB / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1096, allocations: 0 / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1096, allocations: 0 / 0.4919 GB, free: 7.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1096, allocations: 0 / 0.4919 GB, free: 7.676 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.001042/0.1107, allocations: 0.7379 MB / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1107, allocations: 15.89 kB / 0.4926 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1108, allocations: 34.75 kB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.594e-05/0.1109, allocations: 52.61 kB / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.1115, allocations: 448.3 kB / 0.4931 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1115, allocations: 4.375 kB / 0.4932 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1116, allocations: 7.938 kB / 0.4932 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1118, allocations: 91.3 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1118, allocations: 4 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1118, allocations: 0 / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1118, allocations: 0 / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1119, allocations: 31.97 kB / 0.4933 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.1123, allocations: 366.4 kB / 0.4936 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.1126, allocations: 113.1 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1127, allocations: 37.7 kB / 0.4938 GB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.1128, allocations: 4 kB / 0.4938 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.113, allocations: 109 kB / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.113, allocations: 0 / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000548/0.1136, allocations: 201.7 kB / 0.4941 GB, free: 5.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.1136, allocations: 77.11 kB / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1147, allocations: 1.003 MB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1148, allocations: 33.7 kB / 0.4952 GB, free: 4.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1149, allocations: 224.1 kB / 0.4954 GB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/0.115, allocations: 39.72 kB / 0.4954 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.1151, allocations: 29.7 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1152, allocations: 366.8 kB / 0.4958 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.821e-05/0.1153, allocations: 31.92 kB / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1154, allocations: 59.36 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1156, allocations: 87.47 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.1156, allocations: 3.938 kB / 0.496 GB, free: 3.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000305/0.1159, allocations: 177.2 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.116, allocations: 4 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.116, allocations: 0 / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.116, allocations: 7.984 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1161, allocations: 20.06 kB / 0.4962 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1161, allocations: 7.984 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1163, allocations: 15.88 kB / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1163, allocations: 8 kB / 0.4962 GB, free: 2.98 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.0002107/0.1165, allocations: 225.6 kB / 0.4964 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.1166, allocations: 51.67 kB / 0.4965 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.241e-05/0.1166, allocations: 55.84 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1166, allocations: 0 / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1167, allocations: 8 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1167, allocations: 0 / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.1169, allocations: 337.3 kB / 0.4968 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.117, allocations: 0 / 0.4968 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/0.117, allocations: 12.11 kB / 0.4969 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.117, allocations: 4 kB / 0.4969 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.117, allocations: 4 kB / 0.4969 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.117, allocations: 0 / 0.4969 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.117, allocations: 3.938 kB / 0.4969 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.1173, allocations: 205.6 kB / 0.4971 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1175, allocations: 140.7 kB / 0.4972 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.1175, allocations: 3.984 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.1176, allocations: 8 kB / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.1177, allocations: 7.984 kB / 0.4972 GB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1177, allocations: 4 kB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006862/0.1184, allocations: 0.7526 MB / 0.4979 GB, free: 1.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1184, allocations: 4 kB / 0.498 GB, free: 1.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1186, allocations: 40 kB / 0.498 GB, free: 1.039 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.001461/0.1201, allocations: 1.051 MB / 0.499 GB, free: 16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1204, allocations: 83.91 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1204, allocations: 0 / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1205, allocations: 43.91 kB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.1209, allocations: 69.91 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.1257, allocations: 4.412 MB / 0.5035 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.126, allocations: 0.8427 MB / 0.5043 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001163/0.1262, allocations: 59.44 kB / 0.5044 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.1263, allocations: 139.4 kB / 0.5045 GB, free: 10.22 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1264, allocations: 0 / 0.5045 GB, free: 10.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.1504, allocations: 8.777 MB / 0.5131 GB, free: 1.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.106, allocations: 3.969 kB / 0.5131 GB, free: 1.41 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_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_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5078]=8000.000000 File[567]=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