Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001501, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001383/0.001383, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.8 MB, free: 10.56 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.2384/0.2384, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002218/0.002218, allocations: 80.27 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1486, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003962/0.1526, allocations: 1.675 MB / 481.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.154, allocations: 0.5844 MB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.1541, allocations: 4 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007287/0.1548, allocations: 459.1 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.1554, allocations: 295.3 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005306/0.156, allocations: 187 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.1563, allocations: 179.6 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1564, allocations: 28.22 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1566, allocations: 115.7 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1569, allocations: 211.6 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.1569, allocations: 8 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.157, allocations: 43.98 kB / 484 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1572, allocations: 83.69 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1573, allocations: 126.8 kB / 484.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.1576, allocations: 275.1 kB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1577, allocations: 0 / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1577, allocations: 0 / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1577, allocations: 4 kB / 484.4 MB, free: 0.8633 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009367/0.1586, allocations: 0.6531 MB / 485.1 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.1587, allocations: 16.02 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.1587, allocations: 30.75 kB / 485.1 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.1588, allocations: 44.38 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1592, allocations: 308 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1592, allocations: 8.312 kB / 485.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1592, allocations: 8.359 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1595, allocations: 69.61 kB / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1595, allocations: 0 / 485.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1595, allocations: 3.938 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1595, allocations: 4 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1597, allocations: 43.95 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.1604, allocations: 416.6 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.1607, allocations: 66.55 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.842e-05/0.1608, allocations: 28.91 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.1609, allocations: 0 / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1609, allocations: 38.59 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.1609, allocations: 0 / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001753/0.1627, allocations: 0.5111 MB / 486.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.1627, allocations: 51.41 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009175/0.1637, allocations: 0.8738 MB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1637, allocations: 25.7 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.1639, allocations: 216.1 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.1639, allocations: 35.47 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.164, allocations: 29.7 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1642, allocations: 366.8 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1644, allocations: 47.97 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.1645, allocations: 55.95 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.1648, allocations: 132.7 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1648, allocations: 0 / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003967/0.1652, allocations: 193 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1652, allocations: 4 kB / 488.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1653, allocations: 4 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1653, allocations: 3.938 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1654, allocations: 23.98 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1654, allocations: 4 kB / 488.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.44e-05/0.1655, allocations: 15.98 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1655, allocations: 0 / 488.7 MB, free: 12.34 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 (11): * Single equations (assignments): 11 * 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.0002285/0.1658, allocations: 225.7 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/0.1658, allocations: 47.38 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004929/0.1663, allocations: 233.9 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1664, allocations: 3.938 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1664, allocations: 4 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1664, allocations: 0 / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/0.1673, allocations: 0.6092 MB / 489.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1674, allocations: 7.984 kB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1675, allocations: 31.91 kB / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1675, allocations: 0 / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1675, allocations: 8 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1675, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1675, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.168, allocations: 313 kB / 490.2 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.1681, allocations: 112.5 kB / 490.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1681, allocations: 7.938 kB / 490.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1683, allocations: 11.98 kB / 490.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.1683, allocations: 8 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.1683, allocations: 4 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007553/0.1691, allocations: 0.6589 MB / 491 MB, free: 9.949 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1691, allocations: 0 / 491 MB, free: 9.949 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1694, allocations: 35.98 kB / 491 MB, free: 9.914 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002422/0.1718, allocations: 1.181 MB / 492.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.1723, allocations: 135.8 kB / 492.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1723, allocations: 0 / 492.3 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.1725, allocations: 71.89 kB / 492.4 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.1729, allocations: 29.58 kB / 492.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.1777, allocations: 3.594 MB / 496 MB, free: 4.949 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.1782, allocations: 0.8416 MB / 496.9 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.1784, allocations: 36.52 kB / 496.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.1786, allocations: 127.4 kB / 497 MB, free: 3.922 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.1786, allocations: 0 / 497 MB, free: 3.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05298/0.2316, allocations: 6.548 MB / 0.4918 GB, free: 13.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.509/8.741, allocations: 10.55 kB / 0.4918 GB, free: 13.43 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1)