Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 103.4 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.001398/0.001398, 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.428/1.428, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.215/0.215, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002227/0.002227, allocations: 79.11 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1349, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003396/0.1384, allocations: 1.728 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.1411, allocations: 1.623 MB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.208e-05/0.1412, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.1417, allocations: 39.77 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.1421, allocations: 107.5 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.1423, allocations: 79.66 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.1426, allocations: 111.7 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1427, allocations: 15.98 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1428, allocations: 55.77 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.143, allocations: 47.77 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1431, allocations: 4 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.1433, allocations: 107.9 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.1433, allocations: 19.92 kB / 484.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.1434, allocations: 39.78 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1437, allocations: 187.7 kB / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1437, allocations: 0 / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1438, allocations: 0 / 484.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1438, allocations: 4 kB / 484.4 MB, free: 0.9453 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00069/0.1445, allocations: 431 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1445, allocations: 12.03 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.591e-05/0.1446, allocations: 30.75 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.1446, allocations: 12.83 kB / 484.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.1449, allocations: 208.2 kB / 485.1 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1449, allocations: 4.375 kB / 485.1 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.145, allocations: 3.938 kB / 485.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.1452, allocations: 91.3 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1452, allocations: 0 / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1452, allocations: 0 / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1452, allocations: 0 / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.431e-05/0.1453, allocations: 27.98 kB / 485.2 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004767/0.1458, allocations: 308.6 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.146, allocations: 74.61 kB / 485.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.582e-05/0.1461, allocations: 24.86 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1462, allocations: 3.984 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.1464, allocations: 67.39 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1464, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006718/0.1471, allocations: 205.2 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.1473, allocations: 81.05 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.1475, allocations: 178.1 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1475, allocations: 29.7 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.1476, allocations: 96.14 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.1477, allocations: 27.64 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.1477, allocations: 25.72 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1479, allocations: 322.8 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.716e-05/0.148, allocations: 27.98 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1482, allocations: 50.5 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.1483, allocations: 73.64 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1484, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002371/0.1486, allocations: 113.4 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1486, allocations: 8 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1486, allocations: 4.062 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1487, allocations: 0 / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1488, allocations: 20.17 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1488, allocations: 0 / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/0.1489, allocations: 15.88 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1489, allocations: 0 / 486.9 MB, free: 14.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 (11): * Single equations (assignments): 11 * 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.0001281/0.149, allocations: 125.8 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.1491, allocations: 11.91 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.1491, allocations: 16.72 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1491, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1491, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1491, allocations: 3.938 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.1497, allocations: 423.2 kB / 487.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1497, allocations: 7.969 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.1498, allocations: 12 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1498, allocations: 3.938 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1498, allocations: 8.031 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1498, allocations: 4 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1498, allocations: 0 / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.1501, allocations: 212.2 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.1502, allocations: 81.02 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.1502, allocations: 11.94 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.1503, allocations: 4 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.1504, allocations: 11.98 kB / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1504, allocations: 0 / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1505, allocations: 135.2 kB / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1505, allocations: 0 / 487.9 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003147/0.1509, allocations: 47.94 kB / 488 MB, free: 12.95 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 (9): * Single equations (assignments): 7 * 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.002506/0.1534, allocations: 1.195 MB / 489.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.1536, allocations: 79.89 kB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1537, allocations: 0 / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.1537, allocations: 36.05 kB / 489.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1541, allocations: 38.91 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.1564, allocations: 1.65 MB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1568, allocations: 0.7044 MB / 491.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.157, allocations: 20.78 kB / 491.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.1571, allocations: 43.42 kB / 491.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1571, allocations: 0 / 491.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.1861, allocations: 4.098 MB / 495.9 MB, free: 5.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/8.453, allocations: 7.922 kB / 495.9 MB, free: 5.215 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_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_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)