Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001556/0.001555, 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.001319/0.001319, 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.471/1.471, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2512/0.2512, allocations: 46.1 MB / 344.2 MB, free: 11.58 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.003104/0.003104, allocations: 83.17 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1437, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003462/0.1472, allocations: 1.928 MB / 482.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.149, allocations: 1.064 MB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1492, allocations: 3.938 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1495, allocations: 47.7 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.1498, allocations: 95.47 kB / 483.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1501, allocations: 95.66 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.1504, allocations: 147.6 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1505, allocations: 25.5 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.708e-05/0.1506, allocations: 51.78 kB / 483.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.451e-05/0.1507, allocations: 63.58 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.1508, allocations: 8 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1509, allocations: 43.98 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.1509, allocations: 23.92 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.151, allocations: 55.59 kB / 483.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1513, allocations: 155.7 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1513, allocations: 4 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1513, allocations: 0 / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1513, allocations: 0 / 484 MB, free: 1.309 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006879/0.152, allocations: 476.5 kB / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.152, allocations: 12.03 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.1521, allocations: 38.73 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1522, allocations: 16.75 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1524, allocations: 241.5 kB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1525, allocations: 8.375 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1525, allocations: 7.938 kB / 484.8 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.1528, allocations: 110.6 kB / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1528, allocations: 0 / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.1528, allocations: 3.984 kB / 484.9 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1528, allocations: 4 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.153, allocations: 55.91 kB / 485 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.1536, allocations: 0.5087 MB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.154, allocations: 90.66 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1541, allocations: 32.84 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1541, allocations: 4 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.1544, allocations: 91.3 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.1544, allocations: 4 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004113/0.1548, allocations: 149.3 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.1549, allocations: 51.78 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1551, allocations: 198.2 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1552, allocations: 25.7 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.1553, allocations: 120 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1553, allocations: 31.55 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.1554, allocations: 33.7 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1555, allocations: 322.8 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.1556, allocations: 27.98 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1557, allocations: 75.45 kB / 486.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.156, allocations: 92.22 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.156, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002837/0.1563, allocations: 137.3 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.1563, allocations: 4.125 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1563, allocations: 8 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1563, allocations: 3.938 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1564, allocations: 23.98 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1564, allocations: 3.938 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.1565, allocations: 19.92 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.1566, allocations: 4 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001234/0.1567, allocations: 124.5 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1567, allocations: 19.75 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1568, allocations: 21.39 kB / 487.2 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1568, allocations: 3.938 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1568, allocations: 0 / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1568, allocations: 0 / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.157, allocations: 221.5 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.157, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.619e-05/0.1571, allocations: 11.94 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1571, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1571, allocations: 8 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1572, allocations: 4.031 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1572, allocations: 7.938 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.1576, allocations: 180.8 kB / 487.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.573e-05/0.1576, allocations: 88.98 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1577, allocations: 0 / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.73e-05/0.1577, allocations: 11.92 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.1578, allocations: 8 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1578, allocations: 12.05 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.158, allocations: 144.4 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.158, allocations: 0 / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1582, allocations: 24 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002033/0.1603, allocations: 1.014 MB / 488.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.1605, allocations: 91.77 kB / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1606, allocations: 0 / 489 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.1607, allocations: 39.92 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.000315/0.161, allocations: 41.34 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.1633, allocations: 1.737 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1636, allocations: 0.72 MB / 491.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.553e-05/0.1637, allocations: 21.41 kB / 491.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.1638, allocations: 47.42 kB / 491.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1638, allocations: 0 / 491.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.1916, allocations: 3.74 MB / 495.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.17, allocations: 15.92 kB / 495.3 MB, free: 5.676 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)