Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",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.001568/0.001569, allocations: 109.1 kB / 16.41 MB, free: 6.445 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.001528/0.001528, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.1968/0.1968, allocations: 43.53 MB / 314.1 MB, free: 452 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.002105/0.002106, allocations: 71.89 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1042, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00316/0.1074, allocations: 1.697 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1089, allocations: 0.8078 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.296e-05/0.109, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1094, allocations: 43.77 kB / 0.49 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1096, allocations: 59.75 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1099, allocations: 87.66 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1101, allocations: 103.7 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.1102, allocations: 12.22 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.1103, allocations: 39.78 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.1104, allocations: 39.84 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1104, allocations: 4 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.1105, allocations: 35.98 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1106, allocations: 23.92 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.1106, allocations: 35.73 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1109, allocations: 123.4 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1109, allocations: 0 / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1109, allocations: 0 / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1109, allocations: 0 / 0.4905 GB, free: 9.109 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005464/0.1115, allocations: 426.7 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1115, allocations: 11.89 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.1116, allocations: 34.75 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1116, allocations: 8.891 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1119, allocations: 212.8 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.112, allocations: 4.375 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.112, allocations: 11.92 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1121, allocations: 53.61 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1122, allocations: 0 / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1122, allocations: 12 kB / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1122, allocations: 0 / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.126e-05/0.1123, allocations: 15.98 kB / 0.4913 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.1127, allocations: 288.9 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.1128, allocations: 54.62 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.1129, allocations: 28.84 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.1129, allocations: 3.984 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.1131, allocations: 67.39 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.1131, allocations: 0 / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005462/0.1137, allocations: 177.3 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1138, allocations: 51.41 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1139, allocations: 203.3 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.114, allocations: 29.7 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.114, allocations: 100.1 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1141, allocations: 27.73 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1141, allocations: 29.7 kB / 0.4923 GB, free: 7.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1142, allocations: 322.8 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.1143, allocations: 16 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.1144, allocations: 45.58 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1145, allocations: 57.7 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1145, allocations: 0 / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.1147, allocations: 109.5 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1147, allocations: 7.984 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1147, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.1148, allocations: 4.375 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.1149, allocations: 12 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1149, allocations: 4.031 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.1149, allocations: 11.94 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1149, allocations: 3.984 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001056/0.1151, allocations: 133.7 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1151, allocations: 7.953 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.1151, allocations: 21.39 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1151, allocations: 0 / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1152, allocations: 0 / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1152, allocations: 3.938 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.1156, allocations: 399.3 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1156, allocations: 0 / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.1157, allocations: 11.98 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.1157, allocations: 3.938 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1157, allocations: 4 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1157, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1157, allocations: 0 / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1159, allocations: 204.3 kB / 0.4936 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.116, allocations: 89.02 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.116, allocations: 7.938 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.1161, allocations: 7.984 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1162, allocations: 4 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1162, allocations: 3.938 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.1163, allocations: 152.9 kB / 0.4938 GB, free: 5.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1163, allocations: 4 kB / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1167, allocations: 23.98 kB / 0.4939 GB, free: 5.297 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00162/0.1183, allocations: 1.102 MB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1185, allocations: 59.95 kB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1185, allocations: 0 / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.1186, allocations: 31.92 kB / 0.495 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.119, allocations: 32.02 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.1209, allocations: 1.662 MB / 0.4967 GB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1212, allocations: 0.7041 MB / 0.4974 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.344e-05/0.1213, allocations: 25.17 kB / 0.4974 GB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.1214, allocations: 35.42 kB / 0.4974 GB, free: 1.543 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1214, allocations: 0 / 0.4974 GB, free: 1.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.1417, allocations: 3.424 MB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/7.955, allocations: 8.312 kB / 0.5008 GB, free: 14.08 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches