Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002051/0.002051, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00245/0.00245, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.226/0.226, 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.002212/0.002212, allocations: 88.05 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1141, allocations: 62.44 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003306/0.1175, allocations: 1.751 MB / 482 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1192, allocations: 1.029 MB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.1193, allocations: 0 / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1197, allocations: 87.69 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.12, allocations: 119.5 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1203, allocations: 83.66 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.1204, allocations: 115.7 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1206, allocations: 12 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.803e-05/0.1207, allocations: 55.7 kB / 483.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.1208, allocations: 59.81 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1208, allocations: 4 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1209, allocations: 59.98 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.121, allocations: 23.91 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.1211, allocations: 51.61 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1213, allocations: 135.8 kB / 483.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1213, allocations: 0 / 483.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1213, allocations: 0 / 483.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1213, allocations: 0 / 483.8 MB, free: 1.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005664/0.1219, allocations: 434.9 kB / 484.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1219, allocations: 8.031 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.304e-05/0.122, allocations: 38.73 kB / 484.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.122, allocations: 16.75 kB / 484.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.1223, allocations: 208 kB / 484.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1223, allocations: 12.31 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1223, allocations: 3.938 kB / 484.5 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.1225, allocations: 61.61 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1225, allocations: 4 kB / 484.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1225, allocations: 3.984 kB / 484.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.1225, allocations: 4 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.1226, allocations: 27.97 kB / 484.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.123, allocations: 308.7 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.1233, allocations: 58.48 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.1234, allocations: 24.98 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.1234, allocations: 4 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1236, allocations: 67.38 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.1236, allocations: 0 / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007842/0.1244, allocations: 241.5 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.1245, allocations: 63.34 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.1247, allocations: 220.3 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1247, allocations: 29.7 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.211e-05/0.1248, allocations: 112.1 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.1249, allocations: 31.55 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.1249, allocations: 25.72 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1251, allocations: 326.8 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.916e-05/0.1252, allocations: 31.98 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.1253, allocations: 53.69 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1254, allocations: 81.64 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1254, allocations: 4 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000231/0.1257, allocations: 121.5 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1257, allocations: 4 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1257, allocations: 240 / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1257, allocations: 4.031 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/0.1258, allocations: 39.86 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1258, allocations: 3.984 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1259, allocations: 4 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.1259, allocations: 0 / 486.4 MB, free: 14.67 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 (13): * Single equations (assignments): 13 * 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.0001222/0.126, allocations: 132.5 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.1261, allocations: 15.81 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.1261, allocations: 25.39 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1261, allocations: 7.875 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1261, allocations: 4 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1261, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.1267, allocations: 455.9 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1267, allocations: 0 / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.1268, allocations: 15.94 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.1268, allocations: 0 / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.1268, allocations: 16.14 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1268, allocations: 3.938 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1268, allocations: 4 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.1271, allocations: 221.1 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.1272, allocations: 92.91 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1272, allocations: 4 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.1273, allocations: 8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1274, allocations: 11.92 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1274, allocations: 4 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1275, allocations: 169.1 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1275, allocations: 0 / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1278, allocations: 31.98 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002322/0.1301, allocations: 1.167 MB / 488.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1304, allocations: 83.84 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1304, allocations: 0 / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.1305, allocations: 43.98 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1309, allocations: 37.75 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1329, allocations: 1.803 MB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1333, allocations: 0.7161 MB / 491.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.1333, allocations: 24.62 kB / 491.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.501e-05/0.1334, allocations: 43.42 kB / 491.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1334, allocations: 0 / 491.5 MB, free: 9.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.1581, allocations: 3.818 MB / 495.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.369, allocations: 15.56 kB / 495.3 MB, free: 5.742 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)