Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.00143/0.00143, allocations: 107.5 kB / 16.41 MB, free: 6.016 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.001648/0.001648, allocations: 192 kB / 17.34 MB, free: 5.609 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2278/0.2278, allocations: 43.52 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.001504/0.001504, allocations: 77.45 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09626/0.09777, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003103/0.1009, allocations: 1.697 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1023, allocations: 0.8077 MB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.1024, allocations: 0 / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1028, allocations: 43.77 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.103, allocations: 55.75 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1033, allocations: 95.7 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.1035, allocations: 91.69 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1036, allocations: 16.22 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1037, allocations: 47.77 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.304e-05/0.1038, allocations: 27.8 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1038, allocations: 8 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.735e-05/0.1039, allocations: 39.98 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.104, allocations: 27.91 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.104, allocations: 27.81 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1043, allocations: 123.4 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1043, allocations: 4 kB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1043, allocations: 0 / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.1043, allocations: 0 / 0.4905 GB, free: 9.094 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.000503/0.1048, allocations: 418.2 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1048, allocations: 15.89 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1049, allocations: 38.75 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.1049, allocations: 8.891 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1052, allocations: 216.8 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1052, allocations: 4.375 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1053, allocations: 7.938 kB / 0.4912 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1054, allocations: 57.61 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1055, allocations: 0 / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1055, allocations: 3.984 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1055, allocations: 4 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.1056, allocations: 19.98 kB / 0.4913 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.106, allocations: 280.9 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.1062, allocations: 58.62 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.215e-05/0.1062, allocations: 20.84 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.1063, allocations: 8 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.1064, allocations: 67.33 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1065, allocations: 0 / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00055/0.107, allocations: 177.3 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1071, allocations: 55.41 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1073, allocations: 199.3 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1073, allocations: 29.7 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.1073, allocations: 108.1 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1074, allocations: 23.8 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1074, allocations: 21.7 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1076, allocations: 322.8 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.1076, allocations: 23.98 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/0.1077, allocations: 37.59 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1078, allocations: 65.69 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1078, allocations: 0 / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.108, allocations: 105.5 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1081, allocations: 8 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1081, allocations: 384 / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1081, allocations: 0 / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.1082, allocations: 12 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1082, allocations: 8 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.1083, allocations: 11.95 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1083, allocations: 8 kB / 0.4928 GB, free: 6.457 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.0001143/0.1084, allocations: 129.5 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.1084, allocations: 19.92 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.1085, allocations: 13.41 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1085, allocations: 0 / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1085, allocations: 0 / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1085, allocations: 3.938 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.109, allocations: 399.3 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.109, allocations: 0 / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.1091, allocations: 11.98 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.1091, allocations: 7.938 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1091, allocations: 4 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1091, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1091, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1094, allocations: 208.5 kB / 0.4936 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1095, allocations: 89.02 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.1095, allocations: 15.92 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.1096, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.1096, allocations: 4 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.1096, allocations: 7.984 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1098, allocations: 152.9 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.1098, allocations: 0 / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.1101, allocations: 24 kB / 0.4939 GB, free: 5.281 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.001471/0.1115, allocations: 1.088 MB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.1117, allocations: 55.97 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1117, allocations: 4 kB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.1118, 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.00034/0.1122, allocations: 31.83 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.001855/0.114, allocations: 1.666 MB / 0.4967 GB, free: 2.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1144, allocations: 0.7041 MB / 0.4974 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.1144, allocations: 25.19 kB / 0.4974 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.1145, allocations: 35.42 kB / 0.4974 GB, free: 1.539 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1145, allocations: 0 / 0.4974 GB, free: 1.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.1333, allocations: 3.419 MB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.677, allocations: 8.156 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_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_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches