Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008184/0.0008186, allocations: 97.36 kB / 17 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.0008704/0.0008704, allocations: 191.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2249/0.2249, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002907, allocations: 15.92 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.15, allocations: 63.47 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001932/0.152, allocations: 1.307 MB / 483 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008479/0.1529, allocations: 0.4914 MB / 483.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.1529, allocations: 0 / 483.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.1532, allocations: 75.83 kB / 483.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1534, allocations: 83.73 kB / 483.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1537, allocations: 99.19 kB / 483.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1539, allocations: 67.81 kB / 483.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.154, allocations: 19.98 kB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.154, allocations: 35.84 kB / 483.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.1541, allocations: 39.83 kB / 483.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1541, allocations: 0 / 483.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.1542, allocations: 43.97 kB / 483.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.1543, allocations: 19.92 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.1543, allocations: 37.64 kB / 484 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.1545, allocations: 84.05 kB / 484 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1545, allocations: 0 / 484 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1545, allocations: 0 / 484 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.1545, allocations: 0 / 484 MB, free: 2.84 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.0004614/0.155, allocations: 398.9 kB / 484.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.155, allocations: 12.03 kB / 484.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.1551, allocations: 38.55 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.1551, allocations: 7.906 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1553, allocations: 195.5 kB / 484.7 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1553, allocations: 8 kB / 484.7 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.1553, allocations: 3.938 kB / 484.7 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1555, allocations: 53.69 kB / 484.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1555, allocations: 0 / 484.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1555, allocations: 0 / 484.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1555, allocations: 4 kB / 484.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.1557, allocations: 27.97 kB / 484.8 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1561, allocations: 320.7 kB / 485.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1562, allocations: 50.44 kB / 485.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1563, allocations: 20.94 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1563, allocations: 4 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1563, allocations: 34.56 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1563, allocations: 0 / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009103/0.1573, allocations: 261.1 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1573, allocations: 59.39 kB / 485.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.1576, allocations: 218.8 kB / 485.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1576, allocations: 25.7 kB / 485.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.499e-05/0.1577, allocations: 112 kB / 485.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.1577, allocations: 19.78 kB / 485.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.1577, allocations: 4 kB / 485.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1579, allocations: 322.8 kB / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.158, allocations: 39.97 kB / 486.2 MB, free: 432 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.1581, allocations: 31.97 kB / 486.3 MB, free: 400 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.602e-05/0.1582, allocations: 39.98 kB / 486.3 MB, free: 360 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1582, allocations: 0 / 486.3 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002205/0.1584, allocations: 117.9 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1584, allocations: 8 kB / 486.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1584, allocations: 0 / 486.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1584, allocations: 3.953 kB / 486.4 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1586, allocations: 27.92 kB / 486.5 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1586, allocations: 0 / 486.5 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.1586, allocations: 8 kB / 486.5 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1586, allocations: 4 kB / 486.5 MB, free: 184 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 9.369e-05/0.1587, allocations: 133.8 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.1588, allocations: 11.89 kB / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.1591, allocations: 143 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1591, allocations: 7.953 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1591, allocations: 4 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1591, allocations: 0 / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.1597, allocations: 431.2 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.1597, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.066e-05/0.1598, allocations: 31.88 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1598, allocations: 0 / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1598, allocations: 0 / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1598, allocations: 4 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1598, allocations: 0 / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1601, allocations: 224.5 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.1601, allocations: 89 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1602, allocations: 3.953 kB / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.1602, allocations: 8 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.1603, allocations: 15.92 kB / 487.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1603, allocations: 4 kB / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1604, allocations: 164.7 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1607, allocations: 23.98 kB / 487.7 MB, free: 14.8 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.001482/0.1622, allocations: 1.101 MB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.1624, allocations: 79.89 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1625, allocations: 0 / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.1625, allocations: 51.97 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.1629, allocations: 18.8 kB / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.1642, allocations: 0.7942 MB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1644, allocations: 0.7161 MB / 490.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.787e-05/0.1645, allocations: 20.95 kB / 490.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.1646, allocations: 31.42 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1646, allocations: 0 / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.1796, allocations: 2.713 MB / 493.3 MB, free: 9.445 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/0.1799, allocations: 221.7 kB / 493.5 MB, free: 9.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.056, allocations: 0 / 493.5 MB, free: 9.203 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat does not exist to compare? outputFormat=mat