Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 102.9 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001673/0.001674, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, 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.2153/0.2153, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002057/0.1429, allocations: 1.287 MB / 482.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.1439, allocations: 0.4914 MB / 483.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.144, allocations: 0 / 483.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.1442, allocations: 19.91 kB / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1444, allocations: 59.83 kB / 483.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1448, allocations: 95.75 kB / 483.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1449, allocations: 55.78 kB / 483.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.145, allocations: 16 kB / 483.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/0.1451, allocations: 19.91 kB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.1451, allocations: 19.86 kB / 483.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.1452, allocations: 4 kB / 483.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.1452, allocations: 24 kB / 483.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.1453, allocations: 11.92 kB / 483.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1453, allocations: 37.64 kB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1455, allocations: 56.19 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1455, allocations: 0 / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1455, allocations: 0 / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1455, allocations: 7.938 kB / 483.8 MB, free: 3.047 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.0004925/0.146, allocations: 379 kB / 484.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.1461, allocations: 8.031 kB / 484.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.858e-05/0.1461, allocations: 30.56 kB / 484.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1461, allocations: 7.906 kB / 484.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1463, allocations: 193.2 kB / 484.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1464, allocations: 4 kB / 484.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1464, allocations: 0 / 484.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1465, allocations: 57.62 kB / 484.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1466, allocations: 7.984 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1466, allocations: 0 / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1466, allocations: 0 / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.1467, allocations: 23.98 kB / 484.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1471, allocations: 288.8 kB / 484.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.1473, allocations: 50.48 kB / 484.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.1474, allocations: 20.86 kB / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.1474, allocations: 0 / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1474, allocations: 38.64 kB / 484.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1475, allocations: 0 / 484.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005785/0.148, allocations: 165.3 kB / 485.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1481, allocations: 59.36 kB / 485.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1482, allocations: 152.8 kB / 485.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1483, allocations: 25.7 kB / 485.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.1483, allocations: 96.14 kB / 485.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1484, allocations: 15.8 kB / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.1484, allocations: 0 / 485.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1485, allocations: 318.8 kB / 485.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.1486, allocations: 27.97 kB / 485.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.1487, allocations: 23.98 kB / 485.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.741e-05/0.1488, allocations: 27.98 kB / 485.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1488, allocations: 7.938 kB / 485.8 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001883/0.149, allocations: 93.52 kB / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.149, allocations: 7.984 kB / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.149, allocations: 0 / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.149, allocations: 3.953 kB / 485.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.1491, allocations: 12 kB / 485.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1491, allocations: 0 / 485.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1492, allocations: 23.92 kB / 486 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.1492, allocations: 0 / 486 MB, free: 0.6953 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 9.415e-05/0.1493, allocations: 113.8 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.1493, allocations: 7.906 kB / 486.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.1496, allocations: 113.9 kB / 486.2 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1496, allocations: 7.938 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1496, allocations: 3.953 kB / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1496, allocations: 0 / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.15, allocations: 362.9 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1501, allocations: 288 / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.1501, allocations: 19.92 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1501, allocations: 0 / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1501, allocations: 3.953 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1501, allocations: 0 / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1502, allocations: 0 / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1504, allocations: 199.4 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.1504, allocations: 81.02 kB / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1505, allocations: 4 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.1505, allocations: 11.94 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1506, allocations: 4 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1506, allocations: 4 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.424e-05/0.1507, allocations: 117.7 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1507, allocations: 4 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002329/0.1509, allocations: 12 kB / 487 MB, free: 15.55 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.001193/0.1521, allocations: 1.018 MB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.1523, allocations: 55.95 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1523, allocations: 0 / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.1524, allocations: 35.92 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1528, allocations: 19.94 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1538, allocations: 0.5942 MB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1541, allocations: 0.6965 MB / 489.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.1541, allocations: 11.98 kB / 489.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.1542, allocations: 23.42 kB / 489.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1542, allocations: 0 / 489.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.1662, allocations: 2.152 MB / 491.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.1664, allocations: 221.7 kB / 491.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.009, allocations: 0 / 491.8 MB, free: 10.84 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat does not exist to compare? outputFormat=mat