Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, 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.001324/0.001324, 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.433/1.433, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2326/0.2326, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002248/0.002248, allocations: 86.27 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1086, allocations: 62.45 MB / 480.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003363/0.112, allocations: 1.728 MB / 481.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1138, allocations: 1.021 MB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.1139, allocations: 0 / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1142, allocations: 43.77 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.1145, allocations: 83.61 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.1147, allocations: 83.66 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1149, allocations: 99.7 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.115, allocations: 15.98 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.1151, allocations: 43.8 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.1152, allocations: 35.72 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1153, allocations: 4 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1154, allocations: 43.98 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.1154, allocations: 23.91 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.1155, allocations: 27.81 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1157, allocations: 111.9 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1157, allocations: 0 / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1157, allocations: 4 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1157, allocations: 0 / 483.6 MB, free: 1.738 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.0005532/0.1163, allocations: 414.9 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1163, allocations: 8.031 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.1164, allocations: 34.75 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.1164, allocations: 8.844 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1166, allocations: 200.2 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1167, allocations: 384 / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1167, allocations: 11.94 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1168, allocations: 49.67 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1169, allocations: 8 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1169, allocations: 3.984 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1169, allocations: 7.984 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.127e-05/0.117, allocations: 19.92 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1173, allocations: 296.7 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1175, allocations: 50.69 kB / 484.7 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1176, allocations: 28.84 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1177, allocations: 7.938 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.1179, allocations: 63.39 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1179, allocations: 0 / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005523/0.1184, allocations: 173.2 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1185, allocations: 51.41 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1187, allocations: 178.1 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1187, allocations: 25.7 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.1188, allocations: 100.1 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.1188, allocations: 23.66 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.1189, allocations: 29.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.119, allocations: 322.8 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.1191, allocations: 16 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.1192, allocations: 37.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1193, allocations: 65.62 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1193, allocations: 0 / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001902/0.1195, allocations: 105.5 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1195, allocations: 6.656 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1195, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1195, allocations: 4 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.1196, allocations: 19.97 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1196, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.1197, allocations: 11.92 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.1197, allocations: 0 / 485.9 MB, free: 15.16 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.0001084/0.1198, allocations: 121.8 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1198, allocations: 11.81 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.404e-05/0.1199, allocations: 16.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1199, allocations: 4 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1199, allocations: 0 / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1199, allocations: 7.938 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.1204, allocations: 387.3 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1204, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.1204, allocations: 15.92 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.1205, allocations: 7.938 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1205, allocations: 192 / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1205, allocations: 0 / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1205, allocations: 3.938 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.1207, allocations: 204.5 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.1208, allocations: 85.02 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.1208, allocations: 7.938 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1209, allocations: 4.359 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.1209, allocations: 11.94 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.121, allocations: 8 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001135/0.1211, allocations: 131.2 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1211, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1214, allocations: 24 kB / 486.9 MB, free: 14.02 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.002108/0.1235, allocations: 1.094 MB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1237, allocations: 55.92 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1237, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.1238, allocations: 32.05 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1241, allocations: 39.78 kB / 488.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1259, allocations: 1.591 MB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1262, allocations: 0.7002 MB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.239e-05/0.1263, allocations: 21.16 kB / 490.5 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.1264, allocations: 39.36 kB / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1264, allocations: 0 / 490.5 MB, free: 10.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.1504, allocations: 3.269 MB / 493.8 MB, free: 7.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.328, allocations: 15.3 kB / 493.8 MB, free: 7.273 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3_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_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)