Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008537/0.0008538, allocations: 95.53 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000922/0.0009221, allocations: 197.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003998/0.0003999, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1562, allocations: 63.47 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002376/0.1586, allocations: 1.307 MB / 482.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009997/0.1597, allocations: 495.2 kB / 483.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.972e-05/0.1598, allocations: 4 kB / 483.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1602, allocations: 83.77 kB / 483.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.1605, allocations: 79.78 kB / 483.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.1609, allocations: 103.1 kB / 483.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.1611, allocations: 71.75 kB / 483.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1613, allocations: 7.984 kB / 483.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.1614, allocations: 31.92 kB / 483.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1615, allocations: 47.81 kB / 483.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1615, allocations: 4 kB / 483.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1616, allocations: 35.98 kB / 483.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.1617, allocations: 27.84 kB / 483.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.1618, allocations: 37.64 kB / 483.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.1619, allocations: 72.17 kB / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.162, allocations: 0 / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.162, allocations: 0 / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.162, allocations: 0 / 484 MB, free: 2.867 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.0006653/0.1626, allocations: 410.8 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.476e-05/0.1627, allocations: 8.031 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.768e-05/0.1628, allocations: 34.56 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.977e-05/0.1629, allocations: 11.89 kB / 484.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1631, allocations: 195.5 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1632, allocations: 4 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.1632, allocations: 7.984 kB / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.1634, allocations: 49.69 kB / 484.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1634, allocations: 8 kB / 484.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1634, allocations: 4 kB / 484.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1635, allocations: 0 / 484.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.1636, allocations: 35.91 kB / 484.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.1641, allocations: 308.7 kB / 485.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.1642, allocations: 50.55 kB / 485.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.1643, allocations: 16.86 kB / 485.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1643, allocations: 12.02 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.1644, allocations: 30.56 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/0.1644, allocations: 4 kB / 485.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009548/0.1653, allocations: 261.1 kB / 485.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.1654, allocations: 55.41 kB / 485.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.1656, allocations: 214.8 kB / 485.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1657, allocations: 33.7 kB / 485.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.1657, allocations: 108.1 kB / 485.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1658, allocations: 19.72 kB / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1658, allocations: 0 / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1659, allocations: 326.8 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.166, allocations: 31.97 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.1661, allocations: 35.98 kB / 486.2 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.41e-05/0.1662, allocations: 39.91 kB / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1662, allocations: 0 / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002564/0.1665, allocations: 129.9 kB / 486.4 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1665, allocations: 8 kB / 486.4 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1665, allocations: 0 / 486.4 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1665, allocations: 3.953 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1667, allocations: 19.98 kB / 486.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1667, allocations: 4 kB / 486.4 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.1667, allocations: 7.938 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1667, allocations: 0 / 486.5 MB, free: 204 kB / 350.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.1669, allocations: 133.8 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.1669, allocations: 11.89 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.1672, allocations: 150.8 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1672, allocations: 3.953 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1672, allocations: 0 / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1673, allocations: 0 / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.1678, allocations: 427.3 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1678, allocations: 0 / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.1679, allocations: 23.94 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1679, allocations: 4.031 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.1679, allocations: 4 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1679, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1679, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1682, allocations: 224.6 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.1683, allocations: 93 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.1683, allocations: 7.953 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.1684, allocations: 8 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.1685, allocations: 7.984 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.1685, allocations: 4 kB / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1686, allocations: 164.7 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1686, allocations: 4 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1689, allocations: 23.98 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001513/0.1704, allocations: 1.104 MB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1707, allocations: 87.89 kB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1707, allocations: 0 / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.1708, allocations: 39.97 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1712, allocations: 19.92 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1725, allocations: 0.8059 MB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1728, allocations: 0.7082 MB / 490.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.029e-05/0.1729, allocations: 28.94 kB / 490.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.1729, allocations: 39.42 kB / 490.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1729, allocations: 0 / 490.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.1878, allocations: 2.701 MB / 493.3 MB, free: 9.469 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/0.1881, allocations: 226.4 kB / 493.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.019, allocations: 0 / 493.5 MB, free: 9.223 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat does not exist to compare? outputFormat=mat