Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.00145/0.00145, allocations: 110.7 kB / 16.41 MB, free: 6.48 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.001251/0.001251, allocations: 185.5 kB / 17.34 MB, free: 5.75 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.409/1.409, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1915/0.1915, allocations: 43.53 MB / 314.1 MB, free: 468 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.001567/0.001567, allocations: 71.91 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09293, allocations: 57.79 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003883/0.09686, allocations: 1.704 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.09839, allocations: 0.8272 MB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.09852, allocations: 0 / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.09887, allocations: 39.77 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.09918, allocations: 51.7 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.09952, allocations: 99.75 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.09975, allocations: 95.75 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.09987, allocations: 12.2 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1, allocations: 39.8 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1001, allocations: 47.7 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1002, allocations: 4 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1004, allocations: 59.98 kB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.1004, allocations: 19.91 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.692e-05/0.1005, allocations: 35.8 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.1009, allocations: 119.6 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1009, allocations: 7.984 kB / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1009, allocations: 0 / 0.4906 GB, free: 9.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1009, allocations: 0 / 0.4906 GB, free: 9.062 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006852/0.1016, allocations: 414.2 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1017, allocations: 11.89 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.1017, allocations: 42.73 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.1018, allocations: 16.84 kB / 0.491 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1021, allocations: 204.2 kB / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1021, allocations: 4.375 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1021, allocations: 7.938 kB / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1023, allocations: 75.31 kB / 0.4913 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1023, allocations: 3.953 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1024, allocations: 4 kB / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1024, allocations: 0 / 0.4913 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.1025, allocations: 27.97 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.1028, allocations: 288.8 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.103, allocations: 62.48 kB / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.1031, allocations: 20.97 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1031, allocations: 7.938 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1033, allocations: 75.45 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.657e-06/0.1033, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005583/0.1038, allocations: 185.3 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.1039, allocations: 77.11 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1041, allocations: 153.8 kB / 0.4922 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1041, allocations: 29.7 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1042, allocations: 92.14 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.1042, allocations: 35.73 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.1043, allocations: 25.66 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1044, allocations: 326.8 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.1045, allocations: 19.98 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.1046, allocations: 46.56 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1047, allocations: 61.73 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1047, allocations: 4 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001979/0.1049, allocations: 105.5 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1049, allocations: 4 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.105, allocations: 0 / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.105, allocations: 4 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.1051, allocations: 16 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1051, allocations: 4 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.1051, allocations: 7.922 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1052, allocations: 8.172 kB / 0.4929 GB, free: 6.383 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 (11): * Single equations (assignments): 11 * 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 9.681e-05/0.1053, allocations: 125.8 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1053, allocations: 15.89 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.1056, allocations: 110.3 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1056, allocations: 0 / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1056, allocations: 0 / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1056, allocations: 3.938 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.106, allocations: 407.3 kB / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.106, allocations: 0 / 0.4935 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.1061, allocations: 19.92 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1061, allocations: 7.875 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1061, allocations: 4 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1061, allocations: 4 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1061, allocations: 0 / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.1064, allocations: 208.3 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.1064, allocations: 85.05 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1065, allocations: 11.94 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1065, allocations: 0 / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.1066, allocations: 7.984 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1066, allocations: 4 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.663e-05/0.1067, allocations: 122.7 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1067, allocations: 0 / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000282/0.107, allocations: 31.94 kB / 0.494 GB, free: 5.125 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 (9): * Single equations (assignments): 7 * 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.001701/0.1087, allocations: 1.149 MB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1089, allocations: 63.91 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1089, allocations: 0 / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.012e-05/0.109, allocations: 40.17 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1093, allocations: 39.84 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.111, allocations: 1.574 MB / 0.4968 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1113, allocations: 0.7002 MB / 0.4975 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.51e-05/0.1114, allocations: 25.17 kB / 0.4975 GB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.1115, allocations: 31.42 kB / 0.4976 GB, free: 1.414 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1115, allocations: 0 / 0.4976 GB, free: 1.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.1307, allocations: 3.645 MB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.801, allocations: 11.94 kB / 0.5011 GB, free: 13.68 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches