Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.001372/0.001372, allocations: 106.9 kB / 16.41 MB, free: 6.414 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.001492/0.001492, allocations: 185.5 kB / 17.34 MB, free: 5.699 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.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2141/0.2141, allocations: 43.53 MB / 314.1 MB, free: 448 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.001681/0.001681, allocations: 74.14 kB / 441.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1199, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003505/0.1235, allocations: 1.661 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1252, allocations: 0.7844 MB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.1254, allocations: 0 / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.1259, allocations: 51.81 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.1263, allocations: 67.69 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.1266, allocations: 79.72 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.1269, allocations: 91.69 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.367e-05/0.1269, allocations: 15.97 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1271, allocations: 39.8 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.1272, allocations: 27.84 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1272, allocations: 4 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1273, allocations: 31.98 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.1274, allocations: 27.86 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.1275, allocations: 35.69 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.1277, allocations: 119.4 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1277, allocations: 0 / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1277, allocations: 0 / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1278, allocations: 4 kB / 0.4904 GB, free: 9.164 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006393/0.1284, allocations: 430.6 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1285, allocations: 11.89 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.1285, allocations: 34.73 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.1286, allocations: 16.84 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1289, allocations: 223.8 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1289, allocations: 8.375 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.129, allocations: 3.938 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1291, allocations: 49.67 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1292, allocations: 0 / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1292, allocations: 4 kB / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1292, allocations: 0 / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.1293, allocations: 12 kB / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.1295, allocations: 189.7 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1297, allocations: 62.48 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.1298, allocations: 16.86 kB / 0.4914 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1298, allocations: 4 kB / 0.4915 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.13, allocations: 63.39 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.13, allocations: 3.938 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003021/0.1303, allocations: 105.5 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1303, allocations: 55.41 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.1306, allocations: 258.5 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1306, allocations: 25.7 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1307, allocations: 112.1 kB / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1307, allocations: 15.88 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1307, allocations: 21.72 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1309, allocations: 326.8 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.222e-05/0.1309, allocations: 15.98 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.131, allocations: 37.94 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.315e-05/0.1311, allocations: 45.66 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1311, allocations: 3.938 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001737/0.1313, allocations: 89.58 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1313, allocations: 4 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1313, allocations: 0 / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1314, allocations: 0 / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.55e-05/0.1315, allocations: 19.97 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1315, allocations: 0 / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.1315, allocations: 7.938 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1315, allocations: 4 kB / 0.4926 GB, free: 6.676 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 (7): * Single equations (assignments): 7 * 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.0001244/0.1317, allocations: 145.7 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.1317, allocations: 11.91 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.1317, allocations: 17 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1318, allocations: 0 / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1318, allocations: 0 / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.1318, allocations: 7.984 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.1319, allocations: 193.6 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.132, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.132, allocations: 3.984 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.132, allocations: 4 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.132, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.132, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.132, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1322, allocations: 129 kB / 0.4931 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1323, allocations: 85.06 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1323, allocations: 7.938 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.1324, allocations: 4 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.1324, allocations: 7.984 kB / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1324, allocations: 0 / 0.4932 GB, free: 5.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.1326, allocations: 192.5 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1326, allocations: 0 / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1328, allocations: 23.89 kB / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001313/0.1342, allocations: 0.942 MB / 0.4943 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1343, allocations: 43.97 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1344, allocations: 0 / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.294e-05/0.1344, allocations: 23.92 kB / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.1347, allocations: 36.03 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.1364, allocations: 1.657 MB / 0.496 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1367, allocations: 0.7119 MB / 0.4967 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.1368, allocations: 12.55 kB / 0.4968 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.1368, allocations: 43.36 kB / 0.4968 GB, free: 2.188 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1369, allocations: 0 / 0.4968 GB, free: 2.188 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.1589, allocations: 3.407 MB / 0.5001 GB, free: 14.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.38, allocations: 7.938 kB / 0.5001 GB, free: 14.76 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_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_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches