Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001753/0.001753, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002054/0.002055, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2205/0.2205, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002247, allocations: 84.55 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1131, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003443/0.1166, allocations: 1.731 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1183, allocations: 1.025 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.1184, allocations: 0 / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1187, allocations: 43.77 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.119, allocations: 91.62 kB / 483.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1192, allocations: 79.66 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.1194, allocations: 107.6 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1195, allocations: 11.98 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.586e-05/0.1196, allocations: 39.8 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.941e-05/0.1197, allocations: 31.8 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1197, allocations: 4 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1199, allocations: 51.97 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.1199, allocations: 15.92 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.12, allocations: 35.8 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1202, allocations: 111.9 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1202, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1202, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1202, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.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.0006002/0.1208, allocations: 414.9 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1209, allocations: 12.02 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.1209, allocations: 34.75 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.121, allocations: 16.75 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.1212, allocations: 212 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1212, allocations: 4.375 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1213, allocations: 3.938 kB / 484.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1214, allocations: 53.67 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1215, allocations: 7.938 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1215, allocations: 0 / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1215, allocations: 0 / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.223e-05/0.1216, allocations: 23.97 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.122, allocations: 284.9 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1222, allocations: 62.61 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.712e-05/0.1223, allocations: 16.86 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1223, allocations: 0 / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.1225, allocations: 75.38 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1225, allocations: 0 / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005623/0.1231, allocations: 177.4 kB / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.1232, allocations: 51.41 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1234, allocations: 187.3 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.1234, allocations: 33.64 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.1235, allocations: 108 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1236, allocations: 23.66 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.1236, allocations: 25.7 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1238, allocations: 326.8 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.05e-05/0.1238, allocations: 12 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.1239, allocations: 41.64 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.124, allocations: 61.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1241, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002264/0.1243, allocations: 101.5 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1243, allocations: 4 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1243, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1243, allocations: 0 / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.1244, allocations: 16 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1244, allocations: 0 / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.1245, allocations: 11.92 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1245, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.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.0001065/0.1246, allocations: 121.9 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.1247, allocations: 19.75 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.1247, allocations: 21.58 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1247, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1247, allocations: 3.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1248, allocations: 3.938 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.1252, allocations: 391.5 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1253, allocations: 0 / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-05/0.1253, allocations: 15.98 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1253, allocations: 3.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1253, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1253, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1253, allocations: 80 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1256, allocations: 208.3 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.1257, allocations: 88.92 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1257, allocations: 7.922 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.002e-05/0.1258, allocations: 7.938 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1258, allocations: 4 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.1258, allocations: 7.984 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.126, allocations: 139.9 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.126, allocations: 0 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1263, allocations: 27.98 kB / 487 MB, free: 13.98 MB / 366.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.002091/0.1284, allocations: 1.083 MB / 488.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1286, allocations: 67.89 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1286, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.1287, allocations: 27.94 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.129, allocations: 38.75 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.131, allocations: 1.623 MB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1314, allocations: 0.7041 MB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.186e-05/0.1314, allocations: 20.84 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.1315, allocations: 35.42 kB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1315, allocations: 0 / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.1562, allocations: 3.33 MB / 493.9 MB, free: 7.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.218, allocations: 3.875 kB / 493.9 MB, free: 7.164 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17_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_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)