Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.001429/0.00143, allocations: 105.3 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.001258/0.001258, allocations: 189.5 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.439/1.439, 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.2188/0.2188, 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.002008/0.002008, allocations: 73.45 kB / 441.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1067, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003149/0.1099, allocations: 1.782 MB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1114, allocations: 0.8779 MB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.1116, allocations: 3.938 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006597/0.1122, allocations: 307.3 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.1127, allocations: 219.3 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.1131, allocations: 135.7 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.1134, allocations: 243.4 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.126e-05/0.1135, allocations: 17.53 kB / 0.491 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1137, allocations: 127.5 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.1139, allocations: 195.5 kB / 0.4913 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.114, allocations: 4 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1141, allocations: 39.98 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.1143, allocations: 139.6 kB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.1144, allocations: 154.7 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.1149, allocations: 370.2 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1149, allocations: 0 / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.115, allocations: 0 / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.115, allocations: 0 / 0.4919 GB, free: 7.625 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.001207/0.1162, allocations: 0.7423 MB / 0.4927 GB, free: 6.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.1162, allocations: 11.89 kB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.1163, allocations: 34.75 kB / 0.4927 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.171e-05/0.1164, allocations: 56.55 kB / 0.4928 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007393/0.1172, allocations: 456.3 kB / 0.4932 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.1172, allocations: 4.375 kB / 0.4932 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1172, allocations: 7.938 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.1175, allocations: 91.36 kB / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1175, allocations: 0 / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1175, allocations: 0 / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1175, allocations: 0 / 0.4933 GB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1176, allocations: 35.91 kB / 0.4933 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.1181, allocations: 374.4 kB / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1184, allocations: 117.1 kB / 0.4938 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-05/0.1185, allocations: 37.7 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1186, allocations: 3.984 kB / 0.4938 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1188, allocations: 109 kB / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1188, allocations: 0 / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005123/0.1193, allocations: 197.3 kB / 0.4941 GB, free: 5.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.1194, allocations: 81.05 kB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.1207, allocations: 1.046 MB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1207, allocations: 25.7 kB / 0.4953 GB, free: 3.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.1209, allocations: 240.1 kB / 0.4955 GB, free: 3.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.121, allocations: 23.8 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.121, allocations: 29.7 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1212, allocations: 366.8 kB / 0.4959 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.1213, allocations: 28.48 kB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.1214, allocations: 55.41 kB / 0.496 GB, free: 3.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.1216, allocations: 95.36 kB / 0.4961 GB, free: 3.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1216, allocations: 3.938 kB / 0.4961 GB, free: 3.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002996/0.1219, allocations: 173.2 kB / 0.4962 GB, free: 2.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.122, allocations: 4 kB / 0.4962 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.122, allocations: 0 / 0.4962 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.122, allocations: 8.062 kB / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.1221, allocations: 23.92 kB / 0.4963 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1221, allocations: 3.938 kB / 0.4963 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.1222, allocations: 12 kB / 0.4963 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1223, allocations: 4 kB / 0.4963 GB, free: 2.879 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.0002286/0.1225, allocations: 225.6 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.1226, allocations: 51.67 kB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.212e-05/0.1226, allocations: 60 kB / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.1227, allocations: 4 kB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1227, allocations: 3.938 kB / 0.4966 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1227, allocations: 0 / 0.4966 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.1231, allocations: 353.3 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1231, allocations: 0 / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.1231, allocations: 8 kB / 0.497 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1231, allocations: 128 / 0.497 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.1231, allocations: 11.98 kB / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1232, allocations: 0 / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1232, allocations: 0 / 0.497 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.1235, allocations: 209.5 kB / 0.4972 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001801/0.1237, allocations: 136.8 kB / 0.4973 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.1238, allocations: 4 kB / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.1239, allocations: 7.984 kB / 0.4973 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.1239, allocations: 11.98 kB / 0.4973 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1239, allocations: 4.094 kB / 0.4973 GB, free: 1.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008666/0.1248, allocations: 0.776 MB / 0.4981 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.1248, allocations: 0 / 0.4981 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1251, allocations: 43.98 kB / 0.4981 GB, free: 0.8945 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.002042/0.1272, allocations: 1.047 MB / 0.4991 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.1274, allocations: 95.72 kB / 0.4992 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1275, allocations: 0 / 0.4992 GB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1276, allocations: 39.98 kB / 0.4993 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004382/0.128, allocations: 62.27 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.005464/0.1335, allocations: 4.523 MB / 0.5037 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.134, allocations: 0.8388 MB / 0.5046 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.1341, allocations: 59.44 kB / 0.5046 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.1343, allocations: 151.4 kB / 0.5048 GB, free: 9.957 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1343, allocations: 0 / 0.5048 GB, free: 9.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.1651, allocations: 8.936 MB / 0.5135 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.576, allocations: 7.844 kB / 0.5135 GB, free: 0.9883 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_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_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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