Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.001295/0.001295, allocations: 108 kB / 16.41 MB, free: 6.484 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.001257/0.001258, allocations: 188.1 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.45/1.45, 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.2072/0.2072, allocations: 43.54 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.002019/0.002019, allocations: 75.89 kB / 441.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1045, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003182/0.1078, allocations: 1.689 MB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1093, allocations: 0.8038 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.004e-05/0.1094, allocations: 0 / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.1098, allocations: 59.75 kB / 0.49 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.11, allocations: 59.75 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1103, allocations: 91.64 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1105, allocations: 99.69 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1106, allocations: 12.22 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.1107, allocations: 47.77 kB / 0.4903 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.1108, allocations: 27.86 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1108, allocations: 4 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1109, allocations: 35.98 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.111, allocations: 35.84 kB / 0.4904 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.1111, allocations: 43.67 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.1113, allocations: 135.4 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1113, allocations: 0 / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1113, allocations: 0 / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1113, allocations: 4 kB / 0.4905 GB, free: 9.094 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.0006109/0.112, allocations: 442 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.112, allocations: 15.89 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.112, allocations: 30.75 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.1121, allocations: 20.83 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.1124, allocations: 223.8 kB / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1124, allocations: 4.359 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1125, allocations: 7.938 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1126, allocations: 61.61 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1126, allocations: 0 / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1126, allocations: 0 / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1127, allocations: 4 kB / 0.4913 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.044e-05/0.1127, allocations: 15.98 kB / 0.4913 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.1131, allocations: 292.9 kB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1133, allocations: 66.61 kB / 0.4917 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.1134, allocations: 24.78 kB / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1134, allocations: 0 / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/0.1135, allocations: 63.39 kB / 0.4918 GB, free: 7.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1136, allocations: 4 kB / 0.4918 GB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005444/0.1141, allocations: 185.3 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1142, allocations: 59.41 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.1145, allocations: 262.5 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.1145, allocations: 33.64 kB / 0.4923 GB, free: 7.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.1146, allocations: 112.1 kB / 0.4924 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1146, allocations: 23.8 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1147, allocations: 21.7 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1148, allocations: 330.8 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.1149, allocations: 19.98 kB / 0.4928 GB, free: 6.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.1149, allocations: 37.66 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1151, allocations: 58.08 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1151, allocations: 0 / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001915/0.1153, allocations: 109.5 kB / 0.493 GB, free: 6.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1153, allocations: 4 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1153, allocations: 4 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1153, allocations: 8.031 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.1154, allocations: 16 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1154, allocations: 0 / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.1155, allocations: 11.92 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1155, allocations: 4 kB / 0.493 GB, free: 6.32 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.0001174/0.1156, allocations: 141.5 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.1157, allocations: 15.91 kB / 0.4931 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.1157, allocations: 21.39 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1157, allocations: 4 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1157, allocations: 0 / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1157, allocations: 3.938 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.1162, allocations: 399.3 kB / 0.4936 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1162, allocations: 4 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.1163, allocations: 7.984 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1163, allocations: 7.938 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1163, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1163, allocations: 3.938 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1163, allocations: 8.031 kB / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1165, allocations: 208.2 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.1166, allocations: 93 kB / 0.4939 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1166, allocations: 7.922 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.877e-05/0.1167, allocations: 4 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.1168, allocations: 8 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1168, allocations: 11.98 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.117, allocations: 192.7 kB / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.117, allocations: 0 / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1172, allocations: 27.88 kB / 0.4941 GB, free: 5.07 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.002096/0.1193, allocations: 1.096 MB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1195, allocations: 51.98 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1196, allocations: 3.938 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.1196, allocations: 35.98 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.000358/0.12, allocations: 35.91 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1221, allocations: 1.811 MB / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.1224, allocations: 0.7197 MB / 0.4978 GB, free: 1.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.454e-05/0.1225, allocations: 17.17 kB / 0.4978 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.1226, allocations: 39.42 kB / 0.4978 GB, free: 1.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1226, allocations: 0 / 0.4978 GB, free: 1.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.147, allocations: 3.699 MB / 0.5014 GB, free: 13.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.069, allocations: 7.906 kB / 0.5015 GB, free: 13.42 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_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_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches