Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.001823/0.001823, allocations: 108.5 kB / 16.41 MB, free: 6.496 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.001969/0.00197, allocations: 185.5 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.453/1.453, 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.2132/0.2132, 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.002175/0.002175, allocations: 67.91 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1086, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003661/0.1123, allocations: 1.77 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1143, allocations: 0.8818 MB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1145, allocations: 11.94 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.1152, allocations: 311.3 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004948/0.1158, allocations: 211.4 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.1162, allocations: 139.6 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.1165, allocations: 235.4 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.503e-05/0.1166, allocations: 13.55 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.1168, allocations: 135.5 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.117, allocations: 191.6 kB / 0.4913 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.1171, allocations: 8 kB / 0.4913 GB, free: 8.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1172, allocations: 47.92 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.1173, allocations: 131.6 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1175, allocations: 150.8 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.1179, allocations: 370.2 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1179, allocations: 0 / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1179, allocations: 0 / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.1179, allocations: 0 / 0.4919 GB, free: 7.648 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.0009463/0.1189, allocations: 0.7423 MB / 0.4927 GB, free: 6.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1189, allocations: 15.89 kB / 0.4927 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.264e-05/0.119, allocations: 46.69 kB / 0.4927 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.1191, allocations: 48.61 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.1197, allocations: 456.3 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1197, allocations: 384 / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.1198, allocations: 7.938 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.12, allocations: 95.28 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.12, allocations: 4 kB / 0.4933 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.12, allocations: 3.984 kB / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.12, allocations: 0 / 0.4933 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1201, allocations: 31.97 kB / 0.4933 GB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.1205, allocations: 374.4 kB / 0.4937 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.1208, allocations: 113.1 kB / 0.4938 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.1209, allocations: 37.7 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.121, allocations: 0 / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.1212, allocations: 109 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1212, allocations: 0 / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004877/0.1217, allocations: 205.2 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.1218, allocations: 85.11 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.1229, allocations: 1.034 MB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1229, allocations: 25.7 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1231, allocations: 236.1 kB / 0.4955 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.1232, allocations: 31.78 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.1233, allocations: 29.7 kB / 0.4955 GB, free: 3.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1235, allocations: 370.8 kB / 0.4959 GB, free: 3.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.1236, allocations: 27.98 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.1237, allocations: 59.34 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.1239, allocations: 83.92 kB / 0.496 GB, free: 3.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1239, allocations: 3.938 kB / 0.496 GB, free: 3.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000306/0.1242, allocations: 181.2 kB / 0.4962 GB, free: 2.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1242, allocations: 4 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1242, allocations: 0 / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1242, allocations: 4 kB / 0.4962 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1244, allocations: 31.98 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1244, allocations: 4 kB / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.1245, allocations: 7.938 kB / 0.4963 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.1245, allocations: 4 kB / 0.4963 GB, free: 2.891 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.0002297/0.1247, allocations: 229.6 kB / 0.4965 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.1248, allocations: 47.67 kB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/0.1249, allocations: 60 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1249, allocations: 0 / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1249, allocations: 0 / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1249, allocations: 8 kB / 0.4966 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1252, allocations: 345.3 kB / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1252, allocations: 4 kB / 0.4969 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.1253, allocations: 4 kB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1253, allocations: 0 / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1253, allocations: 7.984 kB / 0.4969 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1253, allocations: 0 / 0.4969 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1253, allocations: 3.938 kB / 0.497 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.1257, allocations: 205.6 kB / 0.4971 GB, free: 1.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.1258, allocations: 144.7 kB / 0.4973 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.1259, allocations: 0 / 0.4973 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.004e-05/0.126, allocations: 12.08 kB / 0.4973 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.126, allocations: 7.938 kB / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1261, allocations: 16.09 kB / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008394/0.1269, allocations: 0.7682 MB / 0.4981 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1269, allocations: 0 / 0.4981 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1272, allocations: 47.98 kB / 0.4981 GB, free: 0.9062 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.002059/0.1292, allocations: 1.053 MB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1295, allocations: 87.89 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1295, allocations: 0 / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1297, allocations: 44.3 kB / 0.4993 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1301, allocations: 66.39 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005746/0.1359, allocations: 4.52 MB / 0.5037 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.1364, allocations: 0.8427 MB / 0.5046 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1366, allocations: 58.94 kB / 0.5046 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.1368, allocations: 147.4 kB / 0.5048 GB, free: 9.977 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1368, allocations: 0 / 0.5048 GB, free: 9.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03302/0.1698, allocations: 8.933 MB / 0.5135 GB, free: 1.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.406/8.576, allocations: 15.83 kB / 0.5135 GB, free: 0.9922 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_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_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[5096]=8000.000000 File[577]=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