Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.00155/0.00155, allocations: 100.7 kB / 16.4 MB, free: 6.434 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.001795/0.001795, allocations: 191.8 kB / 17.34 MB, free: 5.711 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.309/1.309, 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.1937/0.1937, allocations: 43.53 MB / 314.1 MB, free: 440 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.001547/0.001547, allocations: 72.33 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1074, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003914/0.1113, allocations: 2.31 MB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.1135, allocations: 1.174 MB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.1138, allocations: 7.938 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006517/0.1145, allocations: 287 kB / 0.4912 GB, free: 8.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.1152, allocations: 270.9 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008882/0.1161, allocations: 327.3 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007942/0.1169, allocations: 0.5102 MB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.1172, allocations: 53.08 kB / 0.4923 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004179/0.1176, allocations: 239 kB / 0.4925 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.118, allocations: 263 kB / 0.4928 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.194e-05/0.1181, allocations: 16 kB / 0.4928 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.1183, allocations: 59.92 kB / 0.4928 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.1184, allocations: 107.6 kB / 0.4929 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.1186, allocations: 174.7 kB / 0.4931 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000601/0.1192, allocations: 402 kB / 0.4935 GB, free: 6.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1193, allocations: 0 / 0.4935 GB, free: 6.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1193, allocations: 4 kB / 0.4935 GB, free: 6.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1193, allocations: 0 / 0.4935 GB, free: 6.02 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001463/0.1208, allocations: 0.7744 MB / 0.4942 GB, free: 5.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.1208, allocations: 15.88 kB / 0.4943 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.1209, allocations: 50.72 kB / 0.4943 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.1211, allocations: 52.61 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/0.1218, allocations: 416.3 kB / 0.4947 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1218, allocations: 16.38 kB / 0.4948 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.1219, allocations: 15.94 kB / 0.4948 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.1223, allocations: 206.3 kB / 0.495 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1224, allocations: 4 kB / 0.495 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.1224, allocations: 4 kB / 0.495 GB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.1224, allocations: 4 kB / 0.495 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.1227, allocations: 99.86 kB / 0.4951 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.1236, allocations: 0.8527 MB / 0.4959 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006253/0.1243, allocations: 285.3 kB / 0.4962 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1245, allocations: 104.2 kB / 0.4963 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.1245, allocations: 7.984 kB / 0.4963 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.125, allocations: 232.1 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.194e-06/0.125, allocations: 0 / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002096/0.1271, allocations: 1.003 MB / 0.4975 GB, free: 1.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.1272, allocations: 162.2 kB / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.1279, allocations: 0.616 MB / 0.4982 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.1279, allocations: 41.7 kB / 0.4983 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.1281, allocations: 221 kB / 0.4985 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1282, allocations: 127 kB / 0.4986 GB, free: 420 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1283, allocations: 70.14 kB / 0.4987 GB, free: 344 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1285, allocations: 370.8 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.1288, allocations: 104.8 kB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.1291, allocations: 184.8 kB / 0.4993 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.1296, allocations: 300.7 kB / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1296, allocations: 0 / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007285/0.1303, allocations: 401 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1303, allocations: 7.938 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1304, allocations: 4 kB / 0.5 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1304, allocations: 7.938 kB / 0.5 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1307, allocations: 84.27 kB / 0.5001 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1307, allocations: 4 kB / 0.5001 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.1309, allocations: 19.98 kB / 0.5001 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.131, allocations: 20.12 kB / 0.5001 GB, free: 14.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002144/0.1312, allocations: 224.1 kB / 0.5003 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.12e-05/0.1313, allocations: 59.62 kB / 0.5004 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1314, allocations: 64.3 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1314, allocations: 4 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.1314, allocations: 0 / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1314, allocations: 7.984 kB / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.1329, allocations: 1.265 MB / 0.5017 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.133, allocations: 4 kB / 0.5017 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.1331, allocations: 43.92 kB / 0.5018 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.1331, allocations: 8.156 kB / 0.5018 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.1331, allocations: 19.92 kB / 0.5018 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1331, allocations: 7.938 kB / 0.5018 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1332, allocations: 4 kB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.134, allocations: 0.8126 MB / 0.5026 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.1341, allocations: 124.8 kB / 0.5027 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.1343, allocations: 15.94 kB / 0.5027 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.1346, allocations: 23.92 kB / 0.5027 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.693e-05/0.1347, allocations: 35.95 kB / 0.5028 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.1347, allocations: 23.98 kB / 0.5028 GB, free: 11.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004537/0.1352, allocations: 458.8 kB / 0.5032 GB, free: 11.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1352, allocations: 0 / 0.5032 GB, free: 11.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.1357, allocations: 83.92 kB / 0.5033 GB, free: 11.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002129/0.1379, allocations: 1.743 MB / 0.505 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006763/0.1386, allocations: 283.7 kB / 0.5053 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1386, allocations: 0 / 0.5053 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.1389, allocations: 148.4 kB / 0.5054 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.1399, allocations: 143.5 kB / 0.5056 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005654/0.1456, allocations: 4.408 MB / 0.5099 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.1461, allocations: 0.8473 MB / 0.5107 GB, free: 3.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002308/0.1463, allocations: 87.38 kB / 0.5108 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.1466, allocations: 175.4 kB / 0.511 GB, free: 3.348 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1466, allocations: 0 / 0.511 GB, free: 3.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.1785, allocations: 10.53 MB / 0.5212 GB, free: 8.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.408, allocations: 3.938 kB / 0.5212 GB, free: 8.773 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches