Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.001858/0.001858, allocations: 105.7 kB / 16.4 MB, free: 6.398 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.001898/0.001898, allocations: 195.2 kB / 17.34 MB, free: 5.691 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.214/0.214, allocations: 43.53 MB / 314.1 MB, free: 444 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: 81.45 kB / 441.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1027, allocations: 57.79 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00311/0.1058, allocations: 1.689 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1074, allocations: 0.7961 MB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.892e-05/0.1075, allocations: 3.938 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.1079, allocations: 43.83 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1081, allocations: 59.69 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1085, allocations: 91.7 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.1087, allocations: 95.69 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1088, allocations: 12.22 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.1089, allocations: 43.78 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.109, allocations: 31.84 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1091, allocations: 4 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.1092, allocations: 35.98 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.1092, allocations: 31.84 kB / 0.4903 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.23e-05/0.1093, allocations: 31.75 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.1095, allocations: 127.5 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1095, allocations: 0 / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1096, allocations: 0 / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1096, allocations: 0 / 0.4905 GB, free: 9.09 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.000596/0.1102, allocations: 426.7 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1102, allocations: 11.89 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.1103, allocations: 30.75 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1103, allocations: 8.891 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.1106, allocations: 220.8 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1106, allocations: 4.375 kB / 0.4912 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1107, allocations: 3.938 kB / 0.4912 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.1108, allocations: 53.67 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1109, allocations: 4 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1109, allocations: 7.984 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.1109, allocations: 0 / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.111, allocations: 15.98 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.1114, allocations: 288.9 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1116, allocations: 62.61 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1117, allocations: 24.84 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1117, allocations: 0 / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.1119, allocations: 67.39 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.1119, allocations: 0 / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005769/0.1125, allocations: 181.3 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1125, allocations: 51.41 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1127, allocations: 207.3 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1128, allocations: 25.7 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.1129, allocations: 108.1 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1129, allocations: 27.73 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.1129, allocations: 25.7 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1131, allocations: 322.8 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.728e-05/0.1132, allocations: 16 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.203e-05/0.1133, allocations: 45.64 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1134, allocations: 61.69 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1134, allocations: 0 / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.1136, allocations: 101.5 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1136, allocations: 4 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1136, allocations: 3.984 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1136, allocations: 4 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.1137, allocations: 16.34 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.1138, allocations: 4 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.1138, allocations: 15.94 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1138, allocations: 0 / 0.4928 GB, free: 6.445 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.0001099/0.1139, allocations: 129.8 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.114, allocations: 7.953 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.114, allocations: 25.39 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.114, allocations: 0 / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.114, allocations: 0 / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.114, allocations: 7.938 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004651/0.1145, allocations: 395.3 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1145, allocations: 0 / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1146, allocations: 11.98 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1146, allocations: 3.938 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1146, allocations: 4 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1146, allocations: 0 / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1146, allocations: 0 / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1149, allocations: 204.3 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.1149, allocations: 89.02 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.115, allocations: 3.938 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.115, allocations: 7.984 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/0.1151, allocations: 4 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1151, allocations: 7.938 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.1152, allocations: 152.9 kB / 0.4938 GB, free: 5.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1152, allocations: 0 / 0.4938 GB, free: 5.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1155, allocations: 23.98 kB / 0.4939 GB, free: 5.277 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.002116/0.1176, allocations: 1.108 MB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.1178, allocations: 55.91 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1178, allocations: 0 / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.605e-05/0.1179, allocations: 31.98 kB / 0.495 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.1183, allocations: 32.02 kB / 0.4951 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1201, allocations: 1.662 MB / 0.4967 GB, free: 2.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1205, allocations: 0.7002 MB / 0.4974 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.1205, allocations: 29.16 kB / 0.4974 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.1206, allocations: 35.42 kB / 0.4974 GB, free: 1.523 MB / 382.1 MB Notification: Performance of SimCode: time 3.566e-06/0.1206, allocations: 0 / 0.4974 GB, free: 1.523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.146, allocations: 3.418 MB / 0.5008 GB, free: 14.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.024, allocations: 12.22 kB / 0.5008 GB, free: 14.07 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_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_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches