Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",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.001857/0.001863, allocations: 111.8 kB / 16.41 MB, free: 6.496 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.002034/0.002034, 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2102/0.2102, allocations: 43.52 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.003358/0.003358, allocations: 76.45 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1219, allocations: 57.79 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003151/0.1251, allocations: 1.654 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1265, allocations: 0.7806 MB / 0.4899 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.1265, allocations: 3.938 kB / 0.4899 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1268, allocations: 55.8 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.1271, allocations: 59.73 kB / 0.49 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1273, allocations: 87.66 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1275, allocations: 103.7 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.664e-05/0.1276, allocations: 7.984 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.362e-05/0.1277, allocations: 39.78 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.819e-05/0.1278, allocations: 39.83 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.1278, allocations: 4 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.549e-05/0.1279, allocations: 28 kB / 0.4903 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.1279, allocations: 15.92 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.128, allocations: 31.8 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1282, allocations: 103.6 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1282, allocations: 3.938 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1282, allocations: 0 / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1282, allocations: 0 / 0.4904 GB, free: 9.211 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.0005559/0.1288, allocations: 394.9 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1289, allocations: 15.89 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1289, allocations: 34.75 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1289, allocations: 8.891 kB / 0.4908 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.1292, allocations: 208.2 kB / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1292, allocations: 8.375 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1292, allocations: 3.938 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1294, allocations: 57.61 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1294, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1294, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1294, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.1295, allocations: 15.98 kB / 0.4911 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.1297, allocations: 173.7 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1299, allocations: 58.56 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.1299, allocations: 20.84 kB / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.13, allocations: 4 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.1301, allocations: 71.28 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1301, allocations: 0 / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002633/0.1304, allocations: 89.62 kB / 0.4915 GB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1305, allocations: 59.34 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1306, allocations: 170.2 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1307, allocations: 29.7 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.1307, allocations: 92.14 kB / 0.4919 GB, free: 7.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.1308, allocations: 23.83 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.1308, allocations: 17.72 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.131, allocations: 326.8 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.507e-05/0.131, allocations: 12 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.277e-05/0.1311, allocations: 29.7 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.713e-05/0.1312, allocations: 41.7 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1312, allocations: 7.875 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001543/0.1314, allocations: 81.58 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1314, allocations: 8.031 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1314, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1314, allocations: 4 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.1315, allocations: 11.98 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1315, allocations: 0 / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.1315, allocations: 4.312 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.1316, allocations: 0 / 0.4924 GB, free: 6.926 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.0001179/0.1317, allocations: 137.3 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.1317, allocations: 15.89 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.1318, allocations: 20.31 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1318, allocations: 0 / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1318, allocations: 4 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1318, allocations: 0 / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.1319, allocations: 193.5 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1319, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.132, allocations: 4 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.132, allocations: 0 / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.132, allocations: 0 / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.132, allocations: 4 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.132, allocations: 0 / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1322, allocations: 117 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.1323, allocations: 81.06 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1323, allocations: 7.938 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.56e-05/0.1323, allocations: 3.984 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.1324, allocations: 7.938 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1324, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1325, allocations: 135.9 kB / 0.4931 GB, free: 6.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1325, allocations: 4 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.1327, allocations: 15.98 kB / 0.4931 GB, free: 6.094 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.001825/0.1345, allocations: 0.9493 MB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.1347, allocations: 39.92 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1347, allocations: 4.062 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.1348, allocations: 16 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.135, allocations: 35 kB / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.1366, allocations: 1.457 MB / 0.4956 GB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1369, allocations: 0.7002 MB / 0.4962 GB, free: 2.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.861e-05/0.137, allocations: 16.53 kB / 0.4963 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.137, allocations: 23.44 kB / 0.4963 GB, free: 2.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.137, allocations: 0 / 0.4963 GB, free: 2.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.1603, allocations: 2.997 MB / 0.4992 GB, free: 15.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.737, allocations: 8 kB / 0.4992 GB, free: 15.73 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches