Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.001227/0.001227, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.001255/0.001255, allocations: 189.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.316/1.316, 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.2038/0.2038, allocations: 43.52 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.001984/0.001984, allocations: 73.83 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09716, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003024/0.1002, allocations: 1.774 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1023, allocations: 1.484 MB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.1024, allocations: 7.938 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1027, allocations: 55.69 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002514/0.103, allocations: 91.53 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.1033, allocations: 139.7 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1036, allocations: 179.5 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.1036, allocations: 17.53 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1038, allocations: 75.62 kB / 0.4912 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.104, allocations: 79.62 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.104, allocations: 8 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1041, allocations: 59.97 kB / 0.4913 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.1042, allocations: 27.91 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.391e-05/0.1043, allocations: 67.55 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.1046, allocations: 167.3 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1046, allocations: 4 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1046, allocations: 0 / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1046, allocations: 0 / 0.4916 GB, free: 7.988 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.0006683/0.1053, allocations: 470.3 kB / 0.492 GB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1053, allocations: 15.89 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1054, allocations: 34.73 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.1054, allocations: 16.84 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000325/0.1057, allocations: 247.8 kB / 0.4923 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1058, allocations: 8.375 kB / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1058, allocations: 7.938 kB / 0.4924 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.106, allocations: 93.08 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.106, allocations: 3.938 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.106, allocations: 4 kB / 0.4925 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1061, allocations: 4 kB / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1062, allocations: 31.97 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.1064, allocations: 214.5 kB / 0.4927 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.1067, allocations: 117 kB / 0.4928 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.1068, allocations: 37.7 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.1069, allocations: 4 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.1071, allocations: 109 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.1071, allocations: 7.938 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004593/0.1076, allocations: 161.5 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.1077, allocations: 128.5 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1079, allocations: 215.8 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1079, allocations: 25.7 kB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.376e-05/0.108, allocations: 116.1 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.1081, allocations: 31.73 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.1081, allocations: 33.72 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1083, allocations: 330.8 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.1084, allocations: 23.98 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1085, allocations: 69.14 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.1087, allocations: 91.88 kB / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.1087, allocations: 11.94 kB / 0.4941 GB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000281/0.109, allocations: 133.5 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.109, allocations: 8 kB / 0.4943 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.109, allocations: 3.984 kB / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.109, allocations: 0 / 0.4943 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1092, allocations: 23.98 kB / 0.4943 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1092, allocations: 4.062 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.1093, allocations: 15.94 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1093, allocations: 8 kB / 0.4943 GB, free: 4.863 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001155/0.1094, allocations: 133.7 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.1094, allocations: 19.89 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.1095, allocations: 17 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1095, allocations: 0 / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1095, allocations: 0 / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1095, allocations: 8 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.1097, allocations: 221.5 kB / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1097, allocations: 0 / 0.4947 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.1098, allocations: 4 kB / 0.4947 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1098, allocations: 4 kB / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1098, allocations: 0 / 0.4947 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1098, allocations: 7.922 kB / 0.4947 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1098, allocations: 4 kB / 0.4947 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.1101, allocations: 177.7 kB / 0.4949 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.1102, allocations: 85.06 kB / 0.495 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1102, allocations: 96 / 0.495 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.974e-05/0.1103, allocations: 16.05 kB / 0.495 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.1104, allocations: 7.984 kB / 0.495 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1104, allocations: 8 kB / 0.495 GB, free: 4.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1106, allocations: 161.5 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1106, allocations: 0 / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1108, allocations: 51.88 kB / 0.4952 GB, free: 3.855 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002097/0.1129, allocations: 1.048 MB / 0.4962 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1132, allocations: 79.91 kB / 0.4963 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1132, allocations: 3.938 kB / 0.4963 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1133, allocations: 39.92 kB / 0.4964 GB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.1137, allocations: 59.27 kB / 0.4964 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.1159, allocations: 1.812 MB / 0.4982 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1162, allocations: 0.7242 MB / 0.4989 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.41e-05/0.1163, allocations: 25.53 kB / 0.4989 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.1164, allocations: 59.28 kB / 0.499 GB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1164, allocations: 0 / 0.499 GB, free: 15.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.1532, allocations: 4.687 MB / 0.5035 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.03, allocations: 3.906 kB / 0.5035 GB, free: 11.14 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_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_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches