Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test15",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.001217/0.001217, allocations: 101.8 kB / 16.27 MB, free: 5.902 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.001134/0.001134, allocations: 186.3 kB / 17.19 MB, free: 5.555 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.496/1.496, allocations: 205.1 MB / 223.1 MB, free: 12.18 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.22/0.22, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 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.001517/0.001517, allocations: 70.12 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1024, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002676/0.1052, allocations: 1.693 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1063, allocations: 0.7961 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/0.1065, allocations: 8 kB / 443.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1068, allocations: 31.83 kB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1071, allocations: 59.69 kB / 443.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1073, allocations: 79.78 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.1075, allocations: 95.69 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1076, allocations: 16.16 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.1077, allocations: 39.8 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.1078, allocations: 31.84 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1078, allocations: 4 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1079, allocations: 43.92 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.108, allocations: 15.92 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.108, allocations: 31.8 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1082, allocations: 111.7 kB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1082, allocations: 0 / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1083, allocations: 0 / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1083, allocations: 0 / 443.7 MB, free: 3.738 MB / 318.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.0005067/0.1088, allocations: 410.9 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1088, allocations: 15.89 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.1089, allocations: 34.75 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1089, allocations: 8.844 kB / 444.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.1091, allocations: 210 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1091, allocations: 4.375 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.1091, allocations: 7.938 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.1093, allocations: 57.67 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1093, allocations: 0 / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1093, allocations: 0 / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1093, allocations: 4 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.1094, allocations: 19.98 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.1097, allocations: 284.8 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1099, allocations: 58.61 kB / 444.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.1099, allocations: 24.84 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.11, allocations: 4 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.1102, allocations: 63.33 kB / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1102, allocations: 0 / 444.9 MB, free: 2.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004762/0.1107, allocations: 177.2 kB / 445 MB, free: 2.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.1107, allocations: 59.34 kB / 445.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1108, allocations: 174 kB / 445.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.1108, allocations: 33.69 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.1109, allocations: 104.1 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.1109, allocations: 23.7 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.1109, allocations: 17.72 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.655e-05/0.111, allocations: 326.8 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.111, allocations: 19.98 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.1111, allocations: 33.7 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1112, allocations: 69.72 kB / 445.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1112, allocations: 3.938 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001581/0.1114, allocations: 93.58 kB / 446 MB, free: 1.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1114, allocations: 4 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1114, allocations: 0 / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1114, allocations: 4 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/0.1115, allocations: 19.92 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1115, allocations: 0 / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.1116, allocations: 15.97 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.1116, allocations: 4 kB / 446 MB, free: 1.152 MB / 318.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 8.621e-05/0.1117, allocations: 125.8 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1117, allocations: 11.81 kB / 446.2 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.1118, allocations: 16.72 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1118, allocations: 0 / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1118, allocations: 0 / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1118, allocations: 3.938 kB / 446.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.1122, allocations: 391.3 kB / 446.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1122, allocations: 0 / 446.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.1122, allocations: 11.98 kB / 446.6 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1122, allocations: 3.938 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1123, allocations: 4 kB / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1123, allocations: 8.125 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1123, allocations: 0 / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.1125, allocations: 204.2 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.1125, allocations: 81.02 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1125, allocations: 15.92 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1126, allocations: 0 / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.1127, allocations: 4.375 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1127, allocations: 7.984 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.666e-05/0.1128, allocations: 131.2 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1128, allocations: 4 kB / 447 MB, free: 36 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000267/0.113, allocations: 24 kB / 447 MB, free: 12 kB / 318.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.001544/0.1146, allocations: 1.111 MB / 448.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1148, allocations: 63.92 kB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1148, allocations: 0 / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.1149, allocations: 31.92 kB / 448.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1153, allocations: 28.09 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.117, allocations: 1.605 MB / 449.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1173, allocations: 0.7078 MB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.641e-05/0.1174, allocations: 9.203 kB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.1175, allocations: 35.36 kB / 450.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1175, allocations: 0 / 450.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.1377, allocations: 3.258 MB / 453.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/7.869, allocations: 8 kB / 453.9 MB, free: 9.086 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_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_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches