Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007565/0.0007563, allocations: 98.92 kB / 17 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001029/0.001029, allocations: 191 kB / 17.9 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002815, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1553, allocations: 63.46 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002077/0.1574, allocations: 1.299 MB / 482.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1584, allocations: 495.2 kB / 483.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.846e-05/0.1585, allocations: 0 / 483.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1587, allocations: 27.89 kB / 483.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.1589, allocations: 63.83 kB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1592, allocations: 87.83 kB / 483.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1594, allocations: 59.77 kB / 483.6 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1595, allocations: 12 kB / 483.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.481e-05/0.1596, allocations: 23.91 kB / 483.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.1597, allocations: 23.86 kB / 483.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1597, allocations: 0 / 483.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.272e-05/0.1598, allocations: 24 kB / 483.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.303e-05/0.1598, allocations: 15.92 kB / 483.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.432e-05/0.1599, allocations: 33.64 kB / 483.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.16, allocations: 64.17 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.16, allocations: 0 / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.16, allocations: 0 / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.16, allocations: 0 / 483.8 MB, free: 3.055 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.0005287/0.1606, allocations: 390.9 kB / 484.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.1606, allocations: 8.031 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.1607, allocations: 34.56 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1607, allocations: 7.906 kB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.161, allocations: 195.4 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.161, allocations: 0 / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.161, allocations: 3.938 kB / 484.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1612, allocations: 61.62 kB / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1612, allocations: 0 / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1612, allocations: 7.984 kB / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1612, allocations: 0 / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1613, allocations: 27.97 kB / 484.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004831/0.1618, allocations: 284.9 kB / 484.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/0.1621, allocations: 58.48 kB / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1621, allocations: 12.86 kB / 484.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.1622, allocations: 0 / 484.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1622, allocations: 34.66 kB / 484.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1622, allocations: 4 kB / 484.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006485/0.1629, allocations: 169.2 kB / 485.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.1629, allocations: 59.36 kB / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002282/0.1632, allocations: 174.5 kB / 485.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1632, allocations: 25.7 kB / 485.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.1633, allocations: 96.14 kB / 485.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.1633, allocations: 23.73 kB / 485.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.1634, allocations: 0 / 485.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1636, allocations: 314.8 kB / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.1637, allocations: 31.97 kB / 485.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1637, allocations: 23.98 kB / 485.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.541e-05/0.1638, allocations: 23.98 kB / 485.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1638, allocations: 0 / 485.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002124/0.164, allocations: 101.5 kB / 486 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1641, allocations: 10.33 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.1641, allocations: 0 / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1641, allocations: 0 / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.1642, allocations: 15.94 kB / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1642, allocations: 3.953 kB / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.1642, allocations: 15.98 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1643, allocations: 0 / 486 MB, free: 0.6523 MB / 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 (5): * Single equations (assignments): 5 * 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.0001042/0.1644, allocations: 121.8 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.1644, allocations: 7.906 kB / 486.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002833/0.1647, allocations: 113.8 kB / 486.2 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1647, allocations: 8 kB / 486.3 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1647, allocations: 0 / 486.3 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1647, allocations: 3.953 kB / 486.3 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005685/0.1653, allocations: 355 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1653, allocations: 64 / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.1654, allocations: 27.92 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1654, allocations: 0 / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.1654, allocations: 7.938 kB / 486.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1655, allocations: 3.953 kB / 486.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1655, allocations: 0 / 486.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1657, allocations: 191.4 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1658, allocations: 85.02 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1658, allocations: 3.984 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.1659, allocations: 12 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.1659, allocations: 7.938 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.166, allocations: 4 kB / 486.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001509/0.1661, allocations: 128.5 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1661, allocations: 4 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1664, allocations: 20 kB / 487.1 MB, free: 15.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 (5): * Single equations (assignments): 5 * 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.001404/0.1678, allocations: 1.022 MB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.168, allocations: 55.97 kB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.168, allocations: 0 / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.1681, allocations: 43.91 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1684, allocations: 26.77 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.1696, allocations: 0.6409 MB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.17, allocations: 0.6965 MB / 489.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.15e-05/0.1701, allocations: 19.92 kB / 489.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.1701, allocations: 31.42 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1702, allocations: 0 / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.1912, allocations: 2.248 MB / 491.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003084/0.1915, allocations: 224.8 kB / 492.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/2.174, allocations: 0 / 492.1 MB, free: 10.6 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat does not exist to compare? outputFormat=mat