Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, 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.001358/0.001358, 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.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2366/0.2366, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002255/0.002255, allocations: 77.62 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1497, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003446/0.1532, allocations: 1.685 MB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001697/0.155, allocations: 1.002 MB / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.155, allocations: 0 / 482.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1554, allocations: 63.73 kB / 483 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.1557, allocations: 115.5 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.1559, allocations: 67.73 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.1561, allocations: 107.6 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.1562, allocations: 8.219 kB / 483.3 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.868e-05/0.1562, allocations: 43.8 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.758e-05/0.1564, allocations: 43.83 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1564, allocations: 4 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.1565, allocations: 31.98 kB / 483.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.1565, allocations: 23.92 kB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.1566, allocations: 35.73 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1568, allocations: 103.9 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1568, allocations: 3.938 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1568, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1568, allocations: 0 / 483.5 MB, free: 1.809 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005751/0.1574, allocations: 410.9 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1574, allocations: 12.03 kB / 484 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.1575, allocations: 30.75 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.1575, allocations: 8.844 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1578, allocations: 216.7 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1578, allocations: 384 / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1578, allocations: 11.88 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.158, allocations: 53.59 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.158, allocations: 0 / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.158, allocations: 0 / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.158, allocations: 4 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.1581, allocations: 15.98 kB / 484.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.1583, allocations: 181.7 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1585, allocations: 54.56 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1586, allocations: 20.84 kB / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1586, allocations: 0 / 484.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.1589, allocations: 71.23 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.1589, allocations: 4 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003192/0.1592, allocations: 89.58 kB / 484.7 MB, free: 480 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.1593, allocations: 51.41 kB / 484.7 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1595, allocations: 198.4 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1595, allocations: 25.7 kB / 485 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.1596, allocations: 100.1 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.1597, allocations: 19.8 kB / 485.1 MB, free: 52 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1597, allocations: 21.7 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1599, allocations: 326.8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/0.16, allocations: 15.94 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.264e-05/0.1601, allocations: 29.7 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1602, allocations: 45.7 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1602, allocations: 4.188 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000175/0.1604, allocations: 85.53 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1604, allocations: 8 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1604, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1604, allocations: 0 / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.1605, allocations: 11.98 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1605, allocations: 4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.1606, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1606, allocations: 4 kB / 485.6 MB, free: 15.47 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 (7): * Single equations (assignments): 7 * 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.0001363/0.1607, allocations: 132.2 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.067e-05/0.1608, allocations: 23.83 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.1608, allocations: 9 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1608, allocations: 4 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1609, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1609, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1611, allocations: 193.5 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1611, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.1611, allocations: 4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1611, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1611, allocations: 7.938 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1611, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1611, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1613, allocations: 105 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.1614, allocations: 85.02 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1615, allocations: 7.984 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.1615, allocations: 4 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1615, allocations: 3.938 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.1616, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001464/0.1617, allocations: 152.2 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1617, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1619, allocations: 19.91 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001957/0.1639, allocations: 0.9495 MB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1641, allocations: 47.91 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1641, allocations: 0 / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.1642, allocations: 16 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.1645, allocations: 37.64 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1663, allocations: 1.502 MB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.1668, allocations: 0.701 MB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.923e-05/0.1669, allocations: 12.55 kB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.1669, allocations: 31.42 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.167, allocations: 4 kB / 489.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/0.229, allocations: 3.089 MB / 492.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.514, allocations: 8.141 kB / 492.8 MB, free: 8.32 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1)