Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.001138/0.001138, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001059/0.001059, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.475/1.475, 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.2068/0.2068, allocations: 43.53 MB / 314.1 MB, free: 460 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.001359/0.001359, allocations: 75.91 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1083, allocations: 57.78 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004142/0.1125, allocations: 1.912 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1141, allocations: 0.835 MB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1142, allocations: 0 / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003732/0.1146, allocations: 51.69 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.1149, allocations: 59.7 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1153, allocations: 107.7 kB / 0.4904 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1155, allocations: 135.6 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1157, allocations: 29.47 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1158, allocations: 59.7 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.1159, allocations: 51.72 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1159, allocations: 8 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.116, allocations: 55.86 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.1161, allocations: 23.91 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.709e-05/0.1162, allocations: 51.61 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1165, allocations: 143.3 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1165, allocations: 4 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1165, allocations: 4 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1165, allocations: 0 / 0.4909 GB, free: 8.703 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006981/0.1172, allocations: 496.1 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.1173, allocations: 11.89 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.279e-05/0.1173, allocations: 38.75 kB / 0.4914 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.1174, allocations: 12.84 kB / 0.4914 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.1178, allocations: 224.2 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.1178, allocations: 4.375 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.1179, allocations: 19.89 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.1182, allocations: 108.2 kB / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1182, allocations: 0 / 0.4918 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1182, allocations: 8 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1182, allocations: 0 / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.1184, allocations: 47.91 kB / 0.4918 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.1191, allocations: 0.5088 MB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.1194, allocations: 86.61 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1195, allocations: 40.83 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.1196, allocations: 11.98 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.1198, allocations: 79.31 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1198, allocations: 0 / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004381/0.1203, allocations: 145.4 kB / 0.4927 GB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1203, allocations: 55.41 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1205, allocations: 191.5 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1206, allocations: 30.08 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.1206, allocations: 112.1 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1207, allocations: 31.73 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.1207, allocations: 29.7 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1209, allocations: 326.8 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.121, allocations: 27.98 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1211, allocations: 68.27 kB / 0.4935 GB, free: 5.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.1213, allocations: 88.22 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1213, allocations: 4 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002755/0.1216, allocations: 145.4 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1216, allocations: 4 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1216, allocations: 3.938 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1216, allocations: 7.938 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1217, allocations: 19.98 kB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1218, allocations: 7.984 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.573e-05/0.1218, allocations: 20 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/0.1219, allocations: 4 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 9.954e-05/0.122, allocations: 132.2 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.122, allocations: 15.91 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.1221, allocations: 21.39 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1221, allocations: 3.938 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1221, allocations: 0 / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1221, allocations: 4 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.1222, allocations: 209.6 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1223, allocations: 4 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.1223, allocations: 11.98 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1223, allocations: 0 / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1224, allocations: 4 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1224, allocations: 3.938 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1224, allocations: 4 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.1227, allocations: 184.9 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.1228, allocations: 97.05 kB / 0.4945 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1228, allocations: 4 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.388e-05/0.1229, allocations: 7.938 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1229, allocations: 11.92 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.123, allocations: 4 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1231, allocations: 141.2 kB / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1231, allocations: 0 / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1233, allocations: 24 kB / 0.4946 GB, free: 4.477 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.00149/0.1248, allocations: 1.021 MB / 0.4956 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.1251, allocations: 79.89 kB / 0.4957 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1251, allocations: 4.25 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.69e-05/0.1252, allocations: 35.92 kB / 0.4957 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1255, allocations: 51.27 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1274, allocations: 1.74 MB / 0.4975 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1277, allocations: 0.7162 MB / 0.4982 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.1278, allocations: 17.41 kB / 0.4982 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.1278, allocations: 47.41 kB / 0.4983 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1278, allocations: 0 / 0.4983 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.149, allocations: 3.758 MB / 0.5019 GB, free: 12.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.105, allocations: 3.906 kB / 0.5019 GB, free: 12.87 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches