Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009321/0.0009322, allocations: 93.62 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.001154/0.001154, allocations: 191.7 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.419/1.419, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 45.92 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 4 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1457, allocations: 63.48 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001978/0.1477, allocations: 1.291 MB / 482.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007891/0.1486, allocations: 483.2 kB / 483.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.506e-05/0.1486, allocations: 0 / 483.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.1488, allocations: 31.91 kB / 483.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.149, allocations: 63.81 kB / 483.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1493, allocations: 71.84 kB / 483.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.1494, allocations: 59.78 kB / 483.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.1495, allocations: 11.97 kB / 483.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.819e-05/0.1496, allocations: 23.92 kB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.1496, allocations: 15.88 kB / 483.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1497, allocations: 0 / 483.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.114e-05/0.1497, allocations: 35.91 kB / 483.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.1498, allocations: 11.94 kB / 483.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.1498, allocations: 37.62 kB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.15, allocations: 56.2 kB / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.15, allocations: 0 / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.15, allocations: 4 kB / 483.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.15, allocations: 0 / 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.0004438/0.1504, allocations: 390.9 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1505, allocations: 8.031 kB / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.1505, allocations: 34.56 kB / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.1506, allocations: 11.89 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1508, allocations: 191.4 kB / 484.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1508, allocations: 0 / 484.4 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1508, allocations: 8 kB / 484.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1509, allocations: 57.61 kB / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.151, allocations: 0 / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.151, allocations: 0 / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.151, allocations: 0 / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.399e-05/0.1511, allocations: 23.98 kB / 484.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.1515, allocations: 272.9 kB / 484.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1517, allocations: 54.5 kB / 484.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.1517, allocations: 16.94 kB / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.1518, allocations: 0 / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1518, allocations: 30.56 kB / 484.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1518, allocations: 0 / 484.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005386/0.1523, allocations: 165.2 kB / 485.1 MB, free: 1.629 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.1524, allocations: 55.36 kB / 485.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1526, allocations: 174.5 kB / 485.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.1526, allocations: 25.7 kB / 485.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1528, allocations: 104.1 kB / 485.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.1528, allocations: 15.73 kB / 485.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.1528, allocations: 0 / 485.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.153, allocations: 318.8 kB / 485.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.1531, allocations: 19.98 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/0.1531, allocations: 27.98 kB / 485.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.1532, allocations: 23.98 kB / 485.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1532, allocations: 3.938 kB / 485.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001732/0.1534, allocations: 93.52 kB / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1534, allocations: 8 kB / 485.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1534, allocations: 256 / 485.9 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1535, allocations: 3.984 kB / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.1535, allocations: 16 kB / 485.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1536, allocations: 7.891 kB / 485.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.1536, allocations: 7.984 kB / 485.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1536, allocations: 8 kB / 485.9 MB, free: 0.6836 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 8.908e-05/0.1537, allocations: 113.8 kB / 486.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.1537, allocations: 7.906 kB / 486.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.154, allocations: 105.8 kB / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.154, allocations: 0 / 486.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.154, allocations: 7.984 kB / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.154, allocations: 3.953 kB / 486.2 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004049/0.1544, allocations: 354.6 kB / 486.5 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1544, allocations: 0 / 486.5 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.1545, allocations: 23.92 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1545, allocations: 0 / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1545, allocations: 0 / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1545, allocations: 3.953 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1545, allocations: 0 / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1548, allocations: 187.7 kB / 486.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.1548, allocations: 85.02 kB / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1549, allocations: 4 kB / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.1549, allocations: 7.984 kB / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.155, allocations: 11.94 kB / 486.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.155, allocations: 0 / 486.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.1551, allocations: 142.5 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1551, allocations: 0 / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1554, allocations: 12 kB / 487 MB, free: 15.54 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.001445/0.1569, allocations: 1.012 MB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1571, allocations: 51.97 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1571, allocations: 0 / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.1572, allocations: 31.92 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1575, 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.001102/0.1587, allocations: 0.6293 MB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.159, allocations: 0.7004 MB / 489.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.1591, allocations: 19.92 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.1591, allocations: 27.42 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of SimCode: time 1.492e-06/0.1592, allocations: 0 / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.1724, allocations: 2.225 MB / 491.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.1726, allocations: 218.8 kB / 491.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.037, allocations: 0 / 491.9 MB, free: 10.73 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat