Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.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.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001839/0.001839, 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.002107/0.002107, 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.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2288/0.2288, 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.003111/0.003111, allocations: 86.19 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1536, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.003126/0.1568, allocations: 1.6 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1585, allocations: 1.156 MB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.1586, allocations: 4 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1588, allocations: 23.84 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.159, allocations: 83.62 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.1593, allocations: 90.95 kB / 483.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1594, allocations: 67.83 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.1595, allocations: 15.98 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.1596, allocations: 23.86 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.1597, allocations: 35.84 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.1598, allocations: 4 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1599, allocations: 103.8 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.16, allocations: 15.91 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.16, allocations: 23.88 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.1603, allocations: 136 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1603, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1603, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1603, allocations: 0 / 483.6 MB, free: 1.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005304/0.1608, allocations: 411.1 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1609, allocations: 8.031 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.1609, allocations: 38.75 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.161, allocations: 8.844 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1612, allocations: 188.2 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1612, allocations: 4.375 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1612, allocations: 4.375 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1614, allocations: 59.34 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1614, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1614, allocations: 0 / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1614, allocations: 7.984 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.141e-05/0.1615, allocations: 27.92 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.1619, allocations: 276.9 kB / 484.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1621, allocations: 38.56 kB / 484.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.1622, allocations: 16.94 kB / 484.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.1622, allocations: 11.94 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.1622, allocations: 30.56 kB / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1622, allocations: 0 / 484.7 MB, free: 476 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005642/0.1628, allocations: 149.2 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.1629, allocations: 81.05 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.163, allocations: 148.2 kB / 485.1 MB, free: 64 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1631, allocations: 25.7 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.1631, allocations: 96.12 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.1632, allocations: 19.72 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.1632, allocations: 17.72 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1633, allocations: 318.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.1634, allocations: 19.98 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.1635, allocations: 33.7 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.1636, allocations: 48.83 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1637, allocations: 192 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.1639, allocations: 81.61 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1639, allocations: 4 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1639, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1639, allocations: 4.031 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.164, allocations: 15.98 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.164, allocations: 3.938 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.529e-05/0.164, allocations: 15.83 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1641, allocations: 4 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001068/0.1642, allocations: 113.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.1642, allocations: 4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.1645, allocations: 101.8 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1645, allocations: 288 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1645, allocations: 0 / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1645, allocations: 7.922 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.1649, allocations: 346.5 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.165, allocations: 0 / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.165, allocations: 19.92 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.165, allocations: 4 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.165, allocations: 3.938 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1651, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1651, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.1653, allocations: 179.4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1654, allocations: 81.34 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1654, allocations: 3.938 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.1655, allocations: 15.94 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.1655, allocations: 7.984 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1655, allocations: 0 / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.504e-05/0.1656, allocations: 111.3 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1656, allocations: 0 / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1659, allocations: 35.98 kB / 486.8 MB, free: 14.21 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002065/0.168, allocations: 1.095 MB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.1682, allocations: 55.89 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1682, allocations: 4 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.558e-05/0.1683, allocations: 23.92 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1687, allocations: 15.62 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.1703, allocations: 1.409 MB / 489.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1707, allocations: 0.6846 MB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.1707, allocations: 16.22 kB / 490.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.1708, allocations: 35.36 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1708, allocations: 0 / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.1974, allocations: 3.147 MB / 493.2 MB, free: 7.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.583, allocations: 9 kB / 493.3 MB, free: 7.828 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test35.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1)