Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001811/0.001811, 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.002035/0.002035, 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.526/1.526, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.24/0.24, allocations: 46.11 MB / 344.2 MB, free: 11.53 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.00351/0.00351, allocations: 85.73 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.143, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003439/0.1465, allocations: 1.732 MB / 482 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.149, allocations: 1.62 MB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.1491, allocations: 4 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.1494, allocations: 31.77 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1497, allocations: 107.5 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1499, allocations: 79.67 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.1501, allocations: 107.7 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.1502, allocations: 11.98 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.1503, allocations: 39.8 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1505, allocations: 55.7 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1505, allocations: 4 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.1507, allocations: 103.9 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.519e-05/0.1508, allocations: 19.91 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.1508, allocations: 39.73 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1512, allocations: 167.8 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1512, allocations: 0 / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1512, allocations: 0 / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1512, allocations: 0 / 484.3 MB, free: 0.9648 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.000663/0.1519, allocations: 427 kB / 484.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1519, allocations: 8.031 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.152, allocations: 38.73 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.152, allocations: 8.844 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1523, allocations: 223.3 kB / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1523, allocations: 0 / 485 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1524, allocations: 4 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.1526, allocations: 71.38 kB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1526, allocations: 7.938 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1526, allocations: 0 / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1526, allocations: 4 kB / 485.1 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.1527, allocations: 15.98 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.1531, allocations: 288.8 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1533, allocations: 54.69 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1534, allocations: 28.84 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1534, allocations: 4 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.1536, allocations: 67.33 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1536, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.1542, allocations: 177.1 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.1543, allocations: 85.05 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1545, allocations: 162.5 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1545, allocations: 29.7 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.1546, allocations: 96.12 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1547, allocations: 23.66 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1547, allocations: 25.7 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1549, allocations: 330.8 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-05/0.1549, allocations: 12 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.155, allocations: 46.56 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1551, allocations: 65.62 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1552, allocations: 0 / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.1554, allocations: 97.58 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1554, allocations: 4 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1554, allocations: 0 / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1554, allocations: 4 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-05/0.1555, allocations: 27.94 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1555, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.501e-05/0.1556, allocations: 7.984 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1556, allocations: 0 / 486.7 MB, free: 14.31 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.0001066/0.1557, allocations: 125.1 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1558, allocations: 11.81 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.1558, allocations: 16.7 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1558, allocations: 7.938 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1558, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1558, allocations: 4 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.1563, allocations: 391.5 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1563, allocations: 3.938 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.1564, allocations: 11.94 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1564, allocations: 0 / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1564, allocations: 8.359 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1564, allocations: 3.938 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1564, allocations: 0 / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1567, allocations: 208.5 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.1567, allocations: 88.95 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1568, allocations: 0 / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.1568, allocations: 11.98 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1569, allocations: 4 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1569, allocations: 4 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.157, allocations: 130.3 kB / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.157, allocations: 0 / 487.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1573, allocations: 51.92 kB / 487.8 MB, free: 13.15 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.002402/0.1597, allocations: 1.177 MB / 489 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.16, allocations: 59.92 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.16, allocations: 0 / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.16, allocations: 31.86 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1604, allocations: 32.05 kB / 489.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1622, allocations: 1.581 MB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1625, allocations: 0.7012 MB / 491.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.916e-05/0.1626, allocations: 21.12 kB / 491.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.1627, allocations: 39.41 kB / 491.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1627, allocations: 0 / 491.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.1929, allocations: 3.94 MB / 495.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.302, allocations: 19.7 kB / 495.4 MB, free: 5.684 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1)