Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001598/0.001598, 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.002085/0.002085, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.11 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 77.23 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1474, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003746/0.1512, allocations: 1.648 MB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1531, allocations: 1.202 MB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1533, allocations: 4 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.1536, allocations: 31.78 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.154, allocations: 79.62 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005107/0.1545, allocations: 186.2 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.1547, allocations: 75.78 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1548, allocations: 23.97 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.1549, allocations: 35.84 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1551, allocations: 31.86 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1551, allocations: 4 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1553, allocations: 107.9 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.816e-05/0.1554, allocations: 19.91 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/0.1554, allocations: 31.81 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1558, allocations: 151.9 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1558, allocations: 4 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1558, allocations: 0 / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1558, allocations: 3.938 kB / 483.8 MB, free: 1.559 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.000606/0.1564, allocations: 415.1 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1565, allocations: 11.97 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1565, allocations: 42.75 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.1566, allocations: 8.844 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.1568, allocations: 198.5 kB / 484.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1568, allocations: 8.375 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.1569, allocations: 4.375 kB / 484.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1571, allocations: 75.31 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1571, allocations: 4 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1571, allocations: 0 / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1571, allocations: 0 / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.1573, allocations: 47.89 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.1577, allocations: 308.8 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1579, allocations: 50.55 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.158, allocations: 24.94 kB / 484.9 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.158, allocations: 4 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.158, allocations: 38.5 kB / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.1581, allocations: 0 / 485 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009006/0.159, allocations: 237.2 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.159, allocations: 77.11 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1592, allocations: 157.7 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.1592, allocations: 29.7 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.1593, allocations: 96.12 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1594, allocations: 23.62 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1594, allocations: 21.72 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1595, allocations: 318.8 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.1597, allocations: 43.97 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1598, allocations: 53.75 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.16, allocations: 84.94 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1601, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003061/0.1604, allocations: 133.5 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1604, allocations: 4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1604, allocations: 4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1604, allocations: 0 / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1606, allocations: 15.98 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1606, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.1607, allocations: 23.77 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1607, allocations: 4 kB / 486.3 MB, free: 14.79 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 (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 9.957e-05/0.1608, allocations: 117.8 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.1609, allocations: 7.906 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.1612, allocations: 142.2 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1613, allocations: 7.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1613, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1613, allocations: 3.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.1619, allocations: 414.5 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1619, allocations: 0 / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.162, allocations: 23.92 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.162, allocations: 288 / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.162, allocations: 7.938 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.162, allocations: 8 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.162, allocations: 0 / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.1624, allocations: 219.4 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.1625, allocations: 93 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1625, allocations: 11.88 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1626, allocations: 7.984 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.1627, allocations: 8 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.1627, allocations: 7.984 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1628, allocations: 113.5 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1628, allocations: 3.938 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1631, allocations: 43.98 kB / 487.5 MB, free: 13.46 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 (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 Backend phase and start with SimCode phase: time 0.001648/0.1648, allocations: 1.138 MB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.1651, allocations: 91.86 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1651, allocations: 0 / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1652, allocations: 51.97 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1656, allocations: 23.61 kB / 488.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.1677, allocations: 1.647 MB / 490.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.168, allocations: 0.6963 MB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.1681, allocations: 28.41 kB / 491.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.938e-05/0.1682, allocations: 31.42 kB / 491.2 MB, free: 9.797 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1682, allocations: 0 / 491.2 MB, free: 9.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.1925, allocations: 3.506 MB / 494.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.461, allocations: 9 kB / 494.7 MB, free: 6.344 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1)