Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001332/0.001333, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, 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.2417/0.2417, allocations: 46.11 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.00324/0.00324, allocations: 76.19 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1349, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003676/0.1387, allocations: 1.731 MB / 481.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1405, allocations: 1.02 MB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.409e-05/0.1407, allocations: 3.938 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.141, allocations: 51.81 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000368/0.1414, allocations: 103.5 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1416, allocations: 71.67 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.1419, allocations: 107.7 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.142, allocations: 11.98 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.1421, allocations: 39.8 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.507e-05/0.1422, allocations: 31.8 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.1422, allocations: 7.984 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1423, allocations: 43.98 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.1424, allocations: 31.86 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.9e-05/0.1425, allocations: 39.67 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.1427, allocations: 119.9 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1427, allocations: 0 / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1427, allocations: 0 / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1427, allocations: 0 / 483.6 MB, free: 1.691 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.0006323/0.1434, allocations: 438.8 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1434, allocations: 8.031 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/0.1434, allocations: 34.73 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.1435, allocations: 12.84 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.1438, allocations: 221.6 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1438, allocations: 384 / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1438, allocations: 7.938 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.144, allocations: 53.67 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.144, allocations: 3.984 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.144, allocations: 4 kB / 484.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.144, allocations: 7.938 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.1441, allocations: 15.98 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1445, allocations: 304.7 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1447, allocations: 58.67 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.1448, allocations: 24.84 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1448, allocations: 4 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.145, allocations: 63.39 kB / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.145, allocations: 0 / 484.9 MB, free: 284 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005561/0.1456, allocations: 177.1 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.1456, allocations: 51.41 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.1459, allocations: 243 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1459, allocations: 33.64 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.146, allocations: 108.1 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.146, allocations: 23.66 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.1461, allocations: 25.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1463, allocations: 326.8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-05/0.1463, allocations: 19.98 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.1464, allocations: 33.7 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.1465, allocations: 65.72 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1465, allocations: 0 / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.1467, allocations: 109.8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1468, allocations: 8 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1468, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1468, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.1469, allocations: 27.92 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1469, allocations: 4.031 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.147, allocations: 7.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.147, allocations: 4 kB / 486.1 MB, free: 14.96 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.0001167/0.1471, allocations: 129.8 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.1471, allocations: 7.906 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.1472, allocations: 17.41 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1472, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1472, allocations: 3.984 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1472, allocations: 7.938 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.1477, allocations: 403.2 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1478, allocations: 0 / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.1478, allocations: 12.17 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1478, allocations: 3.938 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1478, allocations: 7.938 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1478, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1478, allocations: 0 / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1481, allocations: 208.3 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.1482, allocations: 84.92 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1482, allocations: 11.92 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.1483, allocations: 0 / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.1483, allocations: 4 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1483, allocations: 11.98 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001623/0.1485, allocations: 172.4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1485, allocations: 0 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1488, allocations: 31.98 kB / 487.2 MB, free: 13.76 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.002135/0.1509, allocations: 1.091 MB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.1511, allocations: 59.91 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1511, allocations: 0 / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/0.1512, allocations: 27.98 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1516, allocations: 50.45 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1537, allocations: 1.727 MB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.1541, allocations: 0.7156 MB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.1541, allocations: 17.2 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.1542, allocations: 43.41 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1542, allocations: 4 kB / 490.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.1795, allocations: 3.542 MB / 494.5 MB, free: 6.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.133, allocations: 7.922 kB / 494.5 MB, free: 6.586 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54_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_Test54.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1)