Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.0009387/0.0009389, allocations: 102 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.00121/0.00121, allocations: 193.1 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.398/1.398, allocations: 227.3 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.2253/0.2253, allocations: 45.92 MB / 344.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002932/0.0002933, allocations: 4 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 63.48 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002357/0.147, allocations: 1.303 MB / 482.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009972/0.148, allocations: 487.2 kB / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.1482, allocations: 0 / 483.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1485, allocations: 79.72 kB / 483.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.1488, allocations: 87.77 kB / 483.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1491, allocations: 79.55 kB / 483.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1493, allocations: 71.81 kB / 483.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1494, allocations: 11.98 kB / 483.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.815e-05/0.1495, allocations: 35.84 kB / 483.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1496, allocations: 43.83 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.1496, allocations: 0 / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1497, allocations: 43.97 kB / 483.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.1498, allocations: 15.92 kB / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.1498, allocations: 37.64 kB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.15, allocations: 80.16 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.15, allocations: 0 / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.15, allocations: 0 / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.15, allocations: 7.938 kB / 484 MB, free: 2.867 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.0005245/0.1506, allocations: 394.9 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1506, allocations: 8.031 kB / 484.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.1507, allocations: 46.48 kB / 484.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1507, allocations: 7.906 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1509, allocations: 195.5 kB / 484.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.151, allocations: 0 / 484.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.151, allocations: 4 kB / 484.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1511, allocations: 57.67 kB / 484.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1512, allocations: 0 / 484.7 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1512, allocations: 4 kB / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1512, allocations: 0 / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1513, allocations: 31.91 kB / 484.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1517, allocations: 304.7 kB / 485 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1518, allocations: 46.55 kB / 485.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1519, allocations: 16.86 kB / 485.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1519, allocations: 0 / 485.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.152, allocations: 38.5 kB / 485.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.152, allocations: 4 kB / 485.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009283/0.1529, allocations: 249.2 kB / 485.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.153, allocations: 51.41 kB / 485.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1532, allocations: 218.7 kB / 485.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1532, allocations: 29.7 kB / 485.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.1533, allocations: 108.1 kB / 485.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1533, allocations: 23.78 kB / 485.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1534, allocations: 0 / 485.8 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1535, allocations: 326.8 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.1536, allocations: 27.98 kB / 486.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.891e-05/0.1537, allocations: 35.91 kB / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/0.1538, allocations: 36.2 kB / 486.2 MB, free: 436 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1538, allocations: 0 / 486.2 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002307/0.154, allocations: 109.4 kB / 486.3 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.154, allocations: 4 kB / 486.3 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1541, allocations: 4 kB / 486.3 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1541, allocations: 7.953 kB / 486.3 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1542, allocations: 15.98 kB / 486.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1542, allocations: 4 kB / 486.4 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1543, allocations: 8 kB / 486.4 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1543, allocations: 3.984 kB / 486.4 MB, free: 272 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 0.0001041/0.1544, allocations: 121.8 kB / 486.5 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.1544, allocations: 11.91 kB / 486.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/0.1547, allocations: 134.9 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.1548, allocations: 8.375 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1548, allocations: 0 / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1548, allocations: 0 / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.1554, allocations: 407.2 kB / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.1554, allocations: 4 kB / 487 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.052e-05/0.1554, allocations: 19.94 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1555, allocations: 12.02 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1555, allocations: 4 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1555, allocations: 0 / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1555, allocations: 4 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.1558, allocations: 220.1 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1559, allocations: 89 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.1559, allocations: 7.953 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.156, allocations: 8 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.1561, allocations: 11.92 kB / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1561, allocations: 0 / 487.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.1562, allocations: 168.7 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1562, allocations: 0 / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1565, allocations: 27.98 kB / 487.6 MB, free: 14.93 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.001631/0.1582, allocations: 1.087 MB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.1584, allocations: 71.95 kB / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1584, allocations: 0 / 488.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.036e-05/0.1585, allocations: 39.92 kB / 488.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1589, allocations: 15.98 kB / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1603, allocations: 0.7747 MB / 489.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1606, allocations: 0.7083 MB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.1607, allocations: 16.97 kB / 490.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.1607, allocations: 31.42 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.254e-06/0.1607, allocations: 0 / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.1755, allocations: 2.655 MB / 493 MB, free: 9.699 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.1757, allocations: 226.2 kB / 493.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.065, allocations: 3.938 kB / 493.2 MB, free: 9.449 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat