Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 103.7 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.001298/0.001298, allocations: 212.6 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.411/1.411, 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.2407/0.2407, allocations: 46.11 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.003191/0.003191, allocations: 80.28 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1431, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003206/0.1463, allocations: 1.653 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009922/0.1473, allocations: 0.5533 MB / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.1474, allocations: 0 / 482.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.148, allocations: 455.1 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.1484, allocations: 295.3 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.1488, allocations: 126.6 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.149, allocations: 167.6 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.83e-05/0.1491, allocations: 19.98 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1492, allocations: 103.8 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.1495, allocations: 211.6 kB / 483.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.1495, allocations: 4 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.614e-05/0.1496, allocations: 39.92 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1497, allocations: 87.69 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.515e-05/0.1498, allocations: 102.9 kB / 484 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.1501, allocations: 263.2 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1502, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1502, allocations: 0 / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1502, allocations: 0 / 484.2 MB, free: 1.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007645/0.151, allocations: 0.6375 MB / 484.9 MB, free: 388 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.151, allocations: 8.031 kB / 484.9 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.151, allocations: 34.73 kB / 484.9 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.1511, allocations: 44.38 kB / 485 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.1514, allocations: 308.1 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1515, allocations: 8.312 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1515, allocations: 384 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1516, allocations: 57.62 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1517, allocations: 3.984 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1517, allocations: 0 / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1517, allocations: 0 / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.1518, allocations: 23.98 kB / 485.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.1523, allocations: 400.5 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1525, allocations: 50.56 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.1526, allocations: 8.859 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1526, allocations: 4.078 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1526, allocations: 42.64 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1527, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006944/0.1534, allocations: 228.1 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1534, allocations: 51.41 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009254/0.1543, allocations: 0.8776 MB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1544, allocations: 25.7 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1546, allocations: 232.1 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1546, allocations: 15.66 kB / 487.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1546, allocations: 17.72 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.1548, allocations: 362.8 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.1549, allocations: 23.92 kB / 487.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.155, allocations: 15.98 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1551, allocations: 57.02 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1551, allocations: 0 / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002196/0.1554, allocations: 109.2 kB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1554, allocations: 4 kB / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1554, allocations: 0 / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1554, allocations: 0 / 487.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.1555, allocations: 19.98 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1555, allocations: 3.938 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.1556, allocations: 11.84 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1556, allocations: 4 kB / 487.9 MB, free: 13.18 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.000212/0.1558, allocations: 213.8 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.1559, allocations: 39.53 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.1562, allocations: 129.2 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1562, allocations: 4 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1562, allocations: 0 / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1562, allocations: 7.938 kB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.1568, allocations: 466.3 kB / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1568, allocations: 0 / 488.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.39e-05/0.1569, allocations: 12 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1569, allocations: 7.875 kB / 488.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1569, allocations: 3.938 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1569, allocations: 3.984 kB / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1569, allocations: 0 / 488.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.1572, allocations: 219.2 kB / 489 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.597e-05/0.1573, allocations: 116.5 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1573, allocations: 7.938 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.1574, allocations: 4 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1575, allocations: 3.984 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1575, allocations: 4 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006669/0.1582, allocations: 0.6589 MB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1582, allocations: 0 / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1584, allocations: 27.98 kB / 489.8 MB, free: 11.17 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.001983/0.1604, allocations: 1.046 MB / 490.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.1607, allocations: 51.95 kB / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1607, allocations: 0 / 490.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/0.1608, allocations: 23.98 kB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.1612, allocations: 27.94 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.1651, allocations: 3.264 MB / 494.2 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.1656, allocations: 0.826 MB / 495 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.1656, allocations: 8.094 kB / 495 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.1658, allocations: 111.4 kB / 495.1 MB, free: 5.816 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1658, allocations: 4 kB / 495.2 MB, free: 5.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.1938, allocations: 5.925 MB / 0.4893 GB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.341, allocations: 13.66 kB / 0.4893 GB, free: 15.95 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1)