Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",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.001228/0.001228, allocations: 109.1 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.001208/0.001208, 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.488/1.488, 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.2018/0.2018, allocations: 43.51 MB / 314.1 MB, free: 464 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.00157/0.00157, allocations: 68.38 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.09961, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002846/0.1025, allocations: 1.856 MB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1039, allocations: 0.8975 MB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1041, allocations: 0 / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004534/0.1045, allocations: 259.3 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.1049, allocations: 183.4 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.1053, allocations: 143.6 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.1055, allocations: 251.3 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.821e-05/0.1057, allocations: 17.55 kB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.1058, allocations: 127.6 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.106, allocations: 179.4 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.1061, allocations: 8 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1062, allocations: 47.98 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.1063, allocations: 63.75 kB / 0.4914 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.1064, allocations: 79.31 kB / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1067, allocations: 230.9 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1067, allocations: 0 / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1067, allocations: 0 / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1067, allocations: 0 / 0.4917 GB, free: 7.891 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007025/0.1074, allocations: 0.5678 MB / 0.4922 GB, free: 7.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.1074, allocations: 15.89 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.1075, allocations: 38.73 kB / 0.4923 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.344e-05/0.1076, allocations: 32.75 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1079, allocations: 288.3 kB / 0.4926 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1079, allocations: 4.375 kB / 0.4926 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.108, allocations: 11.94 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.1082, allocations: 95.36 kB / 0.4927 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1082, allocations: 4 kB / 0.4927 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.1082, allocations: 3.984 kB / 0.4927 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1082, allocations: 0 / 0.4927 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1084, allocations: 39.91 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.1089, allocations: 453 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1091, allocations: 121.3 kB / 0.4933 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.1092, allocations: 45.7 kB / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.1093, allocations: 0 / 0.4933 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.1095, allocations: 121 kB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.1095, allocations: 0 / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00087/0.1104, allocations: 388.4 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.1104, allocations: 81.05 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.1109, allocations: 481.7 kB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1109, allocations: 33.7 kB / 0.4944 GB, free: 4.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.111, allocations: 164.3 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.1111, allocations: 51.56 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.1111, allocations: 33.72 kB / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1113, allocations: 346.8 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1114, allocations: 39.98 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1115, allocations: 82.78 kB / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.1117, allocations: 115.3 kB / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1117, allocations: 0 / 0.4952 GB, free: 4.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003114/0.112, allocations: 189.3 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1121, allocations: 8.062 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.1121, allocations: 7.938 kB / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1121, allocations: 0 / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1122, allocations: 35.92 kB / 0.4954 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1123, allocations: 3.984 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.317e-05/0.1124, allocations: 8 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1124, allocations: 4 kB / 0.4954 GB, free: 3.754 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001424/0.1125, allocations: 173.7 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.446e-05/0.1126, allocations: 27.81 kB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.1126, allocations: 51.11 kB / 0.4957 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1127, allocations: 3.938 kB / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1127, allocations: 0 / 0.4957 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.1127, allocations: 4 kB / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.1134, allocations: 0.6326 MB / 0.4963 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1134, allocations: 0 / 0.4963 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.1135, allocations: 24.05 kB / 0.4963 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1135, allocations: 0 / 0.4963 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1135, allocations: 8 kB / 0.4963 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1135, allocations: 4 kB / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.1135, allocations: 7.938 kB / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.114, allocations: 371.8 kB / 0.4967 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.114, allocations: 104.9 kB / 0.4968 GB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.1141, allocations: 11.98 kB / 0.4968 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1142, allocations: 4 kB / 0.4968 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.1143, allocations: 11.98 kB / 0.4968 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.1143, allocations: 8 kB / 0.4968 GB, free: 2.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003352/0.1147, allocations: 359.1 kB / 0.4972 GB, free: 1.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1147, allocations: 3.938 kB / 0.4972 GB, free: 1.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003432/0.115, allocations: 40 kB / 0.4972 GB, free: 1.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001681/0.1167, allocations: 1.275 MB / 0.4985 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003016/0.117, allocations: 115.9 kB / 0.4986 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.117, allocations: 0 / 0.4986 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1172, allocations: 60.05 kB / 0.4986 GB, free: 396 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005461/0.1177, allocations: 58.02 kB / 0.4987 GB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.1208, allocations: 2.748 MB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1211, allocations: 0.771 MB / 0.5021 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.904e-05/0.1212, allocations: 33.92 kB / 0.5021 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.1214, allocations: 87.41 kB / 0.5022 GB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1214, allocations: 0 / 0.5022 GB, free: 12.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.1438, allocations: 5.965 MB / 0.5081 GB, free: 6.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.765, allocations: 19.94 kB / 0.5081 GB, free: 6.531 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches