Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001767/0.001767, allocations: 103.9 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.002129/0.002129, allocations: 210.4 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.57/1.57, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.248/0.248, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002471/0.002471, allocations: 84.92 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1529, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003504/0.1565, allocations: 1.728 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1585, allocations: 1.021 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.733e-05/0.1586, allocations: 4 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.159, allocations: 83.69 kB / 483.1 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.1593, allocations: 115.5 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.1596, allocations: 79.67 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.1598, allocations: 115.7 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.16, allocations: 16 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1601, allocations: 51.78 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1603, allocations: 59.75 kB / 483.5 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1603, allocations: 4 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.1604, allocations: 47.97 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.1605, allocations: 19.92 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.1606, allocations: 43.62 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1608, allocations: 131.8 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1608, allocations: 0 / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1608, allocations: 0 / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1608, allocations: 0 / 483.7 MB, free: 1.609 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.0006452/0.1615, allocations: 418.9 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1615, allocations: 8.031 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.1616, allocations: 38.75 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1616, allocations: 12.75 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1619, allocations: 212 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.1619, allocations: 16.31 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.162, allocations: 7.875 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1621, allocations: 53.67 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.1621, allocations: 4 kB / 484.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1622, allocations: 3.984 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1622, allocations: 0 / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.1622, allocations: 15.98 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.1627, allocations: 288.9 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1629, allocations: 62.62 kB / 484.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.1629, allocations: 20.84 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.163, allocations: 4 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.1632, allocations: 63.39 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1632, allocations: 4 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000696/0.1639, allocations: 185 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.164, allocations: 55.41 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1643, allocations: 220.2 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1643, allocations: 33.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.1644, allocations: 104.1 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.1644, allocations: 23.66 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.1645, allocations: 25.7 kB / 485.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1647, allocations: 330.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.1647, allocations: 20.3 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.1648, allocations: 33.72 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.165, allocations: 57.7 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.165, allocations: 4 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.1652, allocations: 109.4 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1652, allocations: 4.188 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1652, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1653, allocations: 7.938 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1654, allocations: 16 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1654, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.1654, allocations: 11.92 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1655, allocations: 4 kB / 486.1 MB, free: 14.93 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.0001312/0.1656, allocations: 125.8 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.1656, allocations: 19.92 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.1657, allocations: 13.41 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1657, allocations: 7.938 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1657, allocations: 0 / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1657, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.1663, allocations: 399.2 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1663, allocations: 0 / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.1663, allocations: 8 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1663, allocations: 11.97 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1664, allocations: 7.984 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1664, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1664, allocations: 0 / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.1667, allocations: 208.4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.1668, allocations: 88.92 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1668, allocations: 11.94 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1669, allocations: 4 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.1669, allocations: 7.984 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.167, allocations: 4 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.1671, allocations: 169.2 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1672, allocations: 0 / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.1674, allocations: 20 kB / 487.2 MB, free: 13.74 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.002325/0.1698, allocations: 1.094 MB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.17, allocations: 67.89 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.17, allocations: 0 / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.1701, allocations: 31.98 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1704, allocations: 29.78 kB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.1726, allocations: 1.707 MB / 490.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.173, allocations: 0.7119 MB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.498e-05/0.1731, allocations: 21.16 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.1731, allocations: 39.42 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1731, allocations: 0 / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.2012, allocations: 3.495 MB / 494.4 MB, free: 6.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.279, allocations: 5.703 kB / 494.4 MB, free: 6.648 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1)