Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.0009857/0.0009856, allocations: 98.17 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009073/0.0009072, allocations: 194.3 kB / 17.91 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 45.92 MB / 344.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002714, allocations: 11.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002337/0.1282, allocations: 1.295 MB / 482.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1293, allocations: 475.3 kB / 483.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.1294, allocations: 4 kB / 483.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.1296, allocations: 31.84 kB / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.1298, allocations: 59.83 kB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1301, allocations: 79.7 kB / 483.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1303, allocations: 59.78 kB / 483.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1304, allocations: 8 kB / 483.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.1305, allocations: 27.84 kB / 483.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.428e-05/0.1306, allocations: 19.86 kB / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1306, allocations: 0 / 483.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.1307, allocations: 24 kB / 483.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.1308, allocations: 19.91 kB / 483.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.1308, allocations: 33.7 kB / 483.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.131, allocations: 64.12 kB / 483.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.131, allocations: 0 / 483.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.131, allocations: 4 kB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.131, allocations: 0 / 483.8 MB, free: 3.062 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.00054/0.1316, allocations: 386.9 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.1316, allocations: 8.031 kB / 484.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.026e-05/0.1317, allocations: 34.56 kB / 484.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.1317, allocations: 11.91 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.132, allocations: 187.4 kB / 484.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.132, allocations: 4 kB / 484.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.132, allocations: 4 kB / 484.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1322, allocations: 49.69 kB / 484.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1322, allocations: 0 / 484.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1322, allocations: 0 / 484.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1322, allocations: 0 / 484.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1324, allocations: 31.91 kB / 484.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1328, allocations: 284.9 kB / 484.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.133, allocations: 46.56 kB / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1331, allocations: 12.86 kB / 484.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1331, allocations: 4.078 kB / 484.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1332, allocations: 38.5 kB / 484.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.1332, allocations: 0 / 484.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006867/0.1339, allocations: 161.2 kB / 485.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1339, allocations: 63.3 kB / 485.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1342, allocations: 170.5 kB / 485.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1342, allocations: 25.7 kB / 485.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.1343, allocations: 104.1 kB / 485.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.1343, allocations: 11.75 kB / 485.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.1343, allocations: 4 kB / 485.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1345, allocations: 322.8 kB / 485.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.1346, allocations: 19.98 kB / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.201e-05/0.1347, allocations: 23.98 kB / 485.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.936e-05/0.1348, allocations: 23.98 kB / 485.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1348, allocations: 0 / 485.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00024/0.135, allocations: 93.52 kB / 485.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1351, allocations: 8 kB / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1351, allocations: 0 / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1351, allocations: 0 / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.1352, allocations: 19.92 kB / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1352, allocations: 3.953 kB / 485.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.1353, allocations: 4 kB / 485.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.1353, allocations: 8 kB / 485.9 MB, free: 0.707 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.0001121/0.1354, allocations: 117.8 kB / 486.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.1355, allocations: 7.906 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.1358, allocations: 105.9 kB / 486.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1358, allocations: 4.281 kB / 486.2 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1358, allocations: 0 / 486.2 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1358, allocations: 3.953 kB / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.1364, allocations: 358.5 kB / 486.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1364, allocations: 4.359 kB / 486.5 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.498e-05/0.1365, allocations: 19.98 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.1365, allocations: 0 / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1365, allocations: 4 kB / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1365, allocations: 3.953 kB / 486.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1365, allocations: 0 / 486.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.1368, allocations: 187.4 kB / 486.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.1369, allocations: 93 kB / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1369, allocations: 0 / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1371, allocations: 7.938 kB / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.1371, allocations: 11.94 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.1371, allocations: 0 / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1373, allocations: 138.5 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1373, allocations: 0 / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.1377, allocations: 16 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.001684/0.1394, allocations: 1.011 MB / 488 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1396, allocations: 51.97 kB / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1396, allocations: 0 / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1398, allocations: 31.98 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.1402, allocations: 19.88 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1416, allocations: 0.6291 MB / 488.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.142, allocations: 0.7004 MB / 489.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.347e-05/0.1421, allocations: 11.98 kB / 489.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.1421, allocations: 23.44 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1421, allocations: 0 / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01255/0.1547, allocations: 2.227 MB / 491.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.1549, allocations: 226.3 kB / 491.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.078, allocations: 0 / 491.9 MB, free: 10.75 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat does not exist to compare? outputFormat=mat