Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 103.6 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.001249/0.001249, 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.44/1.44, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2308/0.2308, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.003569/0.003569, allocations: 81.06 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1443, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003316/0.1477, allocations: 1.77 MB / 482 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1496, allocations: 1.033 MB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.1497, allocations: 0 / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.1501, allocations: 103.7 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003662/0.1505, allocations: 131.4 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.1507, allocations: 83.66 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.151, allocations: 139.6 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1511, allocations: 21.41 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1512, allocations: 63.75 kB / 483.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1513, allocations: 67.75 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1514, allocations: 4 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1515, allocations: 67.97 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.1516, allocations: 23.92 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.1517, allocations: 59.53 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1519, allocations: 155.8 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1519, allocations: 4 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1519, allocations: 0 / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.152, allocations: 0 / 483.9 MB, free: 1.375 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007028/0.1527, allocations: 462.6 kB / 484.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1527, allocations: 8.031 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1528, allocations: 34.75 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1528, allocations: 20.73 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1531, allocations: 221 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1531, allocations: 4.312 kB / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.1532, allocations: 15.94 kB / 484.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1534, allocations: 73.59 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1534, allocations: 0 / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1534, allocations: 0 / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1534, allocations: 4 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1535, allocations: 35.97 kB / 484.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.154, allocations: 336.5 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.1543, allocations: 86.52 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.888e-05/0.1544, allocations: 28.84 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1545, allocations: 4 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.1547, allocations: 83.25 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1547, allocations: 0 / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008991/0.1556, allocations: 308.8 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1557, allocations: 51.41 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.156, allocations: 259.7 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.156, allocations: 37.69 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.655e-05/0.1561, allocations: 108.1 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.1561, allocations: 47.5 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.1562, allocations: 29.72 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1564, allocations: 334.8 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.1565, allocations: 43.98 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1566, allocations: 57.08 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.1568, allocations: 97.7 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1568, allocations: 0 / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002839/0.1571, allocations: 165.5 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1571, allocations: 7.984 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1571, allocations: 0 / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1571, allocations: 4.047 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.1572, allocations: 35.86 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1572, allocations: 0.8438 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.892e-05/0.1573, allocations: 8 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1573, allocations: 4 kB / 486.9 MB, free: 14.18 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 (16): * Single equations (assignments): 16 * 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.0001378/0.1575, allocations: 141.8 kB / 487 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1575, allocations: 19.81 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.1576, allocations: 29.45 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1576, allocations: 4 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1576, allocations: 0 / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1576, allocations: 0 / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.1583, allocations: 0.4998 MB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1583, allocations: 4.062 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.1584, allocations: 16 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.1584, allocations: 4 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1584, allocations: 7.984 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1584, allocations: 4 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1584, allocations: 3.938 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.1588, allocations: 267.3 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.1588, allocations: 88.92 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.1589, allocations: 8 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.159, allocations: 0 / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.159, allocations: 11.98 kB / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.159, allocations: 8 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001779/0.1592, allocations: 197.4 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1592, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.1595, allocations: 40 kB / 488.2 MB, free: 12.73 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 (14): * Single equations (assignments): 12 * 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.002452/0.162, allocations: 1.194 MB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.1623, allocations: 115.8 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1623, allocations: 0 / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1624, allocations: 51.91 kB / 489.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1628, allocations: 37.03 kB / 489.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.1654, allocations: 1.996 MB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.1658, allocations: 0.7201 MB / 492.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.306e-05/0.1659, allocations: 25.41 kB / 492.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-05/0.166, allocations: 55.41 kB / 492.4 MB, free: 8.582 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.166, allocations: 4 kB / 492.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.2008, allocations: 4.27 MB / 496.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.242, allocations: 7.969 kB / 496.7 MB, free: 4.391 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_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_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)