Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001383/0.001383, allocations: 106 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.001274/0.001274, 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.426/1.426, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2293/0.2293, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.003193/0.003193, allocations: 82.66 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.161, allocations: 62.45 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003393/0.1645, allocations: 1.585 MB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.1664, allocations: 1.163 MB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.1665, allocations: 4 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1667, allocations: 23.84 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.167, allocations: 79.62 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1673, allocations: 94.69 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.1675, allocations: 59.91 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1676, allocations: 15.98 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.1677, allocations: 31.8 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.1679, allocations: 39.83 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.1679, allocations: 4 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.1681, allocations: 95.94 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.1682, allocations: 11.92 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.1682, allocations: 27.81 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1685, allocations: 136 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1685, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1685, allocations: 0 / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1685, 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.0007374/0.1692, allocations: 407.1 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1693, allocations: 8.031 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.1694, allocations: 38.69 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.1694, allocations: 8.844 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.1697, allocations: 192.1 kB / 484.2 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1697, allocations: 4.375 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.1698, allocations: 384 / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.17, allocations: 71.33 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.17, allocations: 0 / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.17, allocations: 4 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.17, allocations: 0 / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1702, allocations: 19.98 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.1707, allocations: 284.8 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1709, allocations: 42.56 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.31e-05/0.171, allocations: 16.94 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1711, allocations: 3.984 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1711, allocations: 34.56 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1711, allocations: 0 / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006186/0.1717, allocations: 149.5 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.1718, allocations: 77.11 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.172, allocations: 148.5 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.172, allocations: 29.64 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.692e-05/0.1721, allocations: 92.14 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1722, allocations: 23.66 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.1722, allocations: 17.7 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1724, allocations: 326.8 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.1725, allocations: 15.98 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.1725, allocations: 33.88 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1727, allocations: 48.84 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1727, allocations: 0 / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000203/0.1729, allocations: 81.69 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1729, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1729, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.173, allocations: 4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1731, allocations: 15.92 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1731, allocations: 3.984 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-05/0.1732, allocations: 11.84 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1732, allocations: 0 / 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.0001192/0.1734, allocations: 113.8 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.1734, allocations: 11.98 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.1738, allocations: 97.81 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1738, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.1738, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1738, allocations: 3.938 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.1744, allocations: 350.4 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1744, allocations: 8 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.1744, allocations: 11.98 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1745, allocations: 0 / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1745, allocations: 4.125 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1745, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1745, allocations: 4 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1747, allocations: 183.4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.1748, allocations: 81.11 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1748, allocations: 3.938 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.1749, allocations: 7.984 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.175, allocations: 4 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.175, allocations: 3.938 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1751, allocations: 115.2 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1751, allocations: 0 / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.1754, allocations: 32 kB / 486.8 MB, free: 14.2 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.002249/0.1777, allocations: 1.094 MB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1779, allocations: 59.84 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1779, allocations: 0 / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.178, allocations: 31.92 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.1784, allocations: 14.05 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.1803, allocations: 1.405 MB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1807, allocations: 0.6924 MB / 490.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.083e-05/0.1808, allocations: 16.23 kB / 490.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.818e-05/0.1809, allocations: 31.42 kB / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1809, allocations: 0 / 490.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.2188, allocations: 3.145 MB / 493.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.214, allocations: 16.44 kB / 493.3 MB, free: 7.82 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1)