Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001164/0.001164, allocations: 102.8 kB / 16.27 MB, free: 6.102 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.001181/0.001181, allocations: 181 kB / 17.19 MB, free: 5.727 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.481/1.481, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2603/0.2603, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 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.001711/0.001711, allocations: 75.41 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1018, allocations: 57.78 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00292/0.1048, allocations: 2.006 MB / 442.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1059, allocations: 0.8857 MB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1061, allocations: 4 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.1064, allocations: 51.69 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1067, allocations: 75.55 kB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.107, allocations: 115.7 kB / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.1072, allocations: 195.4 kB / 444 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1074, allocations: 37.61 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1075, allocations: 75.64 kB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1077, allocations: 83.59 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.1077, allocations: 12 kB / 444.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1078, allocations: 51.98 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.197e-05/0.1079, allocations: 31.86 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.1079, allocations: 71.58 kB / 444.3 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1082, allocations: 195.3 kB / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1082, allocations: 3.984 kB / 444.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1082, allocations: 4 kB / 444.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1082, allocations: 0 / 444.5 MB, free: 2.887 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008263/0.1091, allocations: 0.5409 MB / 445 MB, free: 2.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1091, allocations: 15.89 kB / 445.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.1092, allocations: 38.75 kB / 445.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.1092, allocations: 20.75 kB / 445.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1095, allocations: 260.6 kB / 445.4 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1095, allocations: 4.375 kB / 445.4 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.1095, allocations: 11.94 kB / 445.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.1099, allocations: 149.4 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1099, allocations: 0 / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.11, allocations: 0 / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.11, allocations: 8 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.1104, allocations: 115.8 kB / 445.7 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.1109, allocations: 0.5399 MB / 446.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/0.1116, allocations: 170.5 kB / 446.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.1118, allocations: 76.8 kB / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1119, allocations: 0 / 446.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.1123, allocations: 139.2 kB / 446.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.1123, allocations: 4 kB / 446.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008823/0.1132, allocations: 253.2 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1133, allocations: 55.39 kB / 446.9 MB, free: 296 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1135, allocations: 227.2 kB / 447.1 MB, free: 56 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.1135, allocations: 33.64 kB / 447.1 MB, free: 16 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1136, allocations: 128.3 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.1137, allocations: 35.55 kB / 447.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.1138, allocations: 37.7 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.114, allocations: 330.8 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.1142, allocations: 67.84 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.1146, allocations: 109.4 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.1153, allocations: 193.7 kB / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1154, allocations: 0 / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000795/0.1162, allocations: 259 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.1162, allocations: 36.67 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1162, allocations: 0 / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.1163, allocations: 3.938 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1165, allocations: 35.97 kB / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1165, allocations: 3.984 kB / 448.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1167, allocations: 27.95 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1168, allocations: 11.94 kB / 448.4 MB, free: 14.7 MB / 334.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001421/0.1169, allocations: 133.8 kB / 448.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.1169, allocations: 19.81 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.117, allocations: 21.39 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.117, allocations: 7.938 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.117, allocations: 0 / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.117, allocations: 0 / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1173, allocations: 233.5 kB / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1173, allocations: 0 / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1175, allocations: 27.97 kB / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1175, allocations: 3.938 kB / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1175, allocations: 0 / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1175, allocations: 3.938 kB / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1176, allocations: 7.984 kB / 448.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.1184, allocations: 309 kB / 449.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.378e-05/0.1185, allocations: 88.95 kB / 449.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.1186, allocations: 0 / 449.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.1188, allocations: 31.84 kB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.1188, allocations: 19.97 kB / 449.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1189, allocations: 12.06 kB / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.119, allocations: 168.6 kB / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.119, allocations: 0 / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.1193, allocations: 36 kB / 449.5 MB, free: 13.5 MB / 334.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002253/0.1216, allocations: 1.147 MB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006791/0.1223, allocations: 227.2 kB / 450.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1223, allocations: 0 / 450.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.1226, allocations: 75.94 kB / 450.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1229, allocations: 50.16 kB / 451 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.1268, allocations: 2.152 MB / 453.1 MB, free: 9.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.1272, allocations: 0.7356 MB / 453.9 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001159/0.1273, allocations: 21.53 kB / 453.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1274, allocations: 51.41 kB / 453.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1274, allocations: 0 / 453.9 MB, free: 8.957 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.1547, allocations: 4.85 MB / 458.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.095, allocations: 11.75 kB / 458.8 MB, free: 4.074 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_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_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)