Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008377/0.0008376, allocations: 97.86 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.001173/0.001173, allocations: 191.8 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.55/1.55, allocations: 227.3 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.2132/0.2132, allocations: 45.91 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002691, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002669/0.1366, allocations: 1.374 MB / 483 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1378, allocations: 0.5188 MB / 483.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.1379, allocations: 0 / 483.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.1382, allocations: 51.81 kB / 483.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.1384, allocations: 75.78 kB / 483.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.1388, allocations: 159.4 kB / 483.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.139, allocations: 71.77 kB / 483.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1391, allocations: 24.14 kB / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.262e-05/0.1392, allocations: 27.86 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.1393, allocations: 35.84 kB / 484 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1393, allocations: 8 kB / 484 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1394, allocations: 43.97 kB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.1395, allocations: 19.92 kB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.1395, allocations: 37.64 kB / 484.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1397, allocations: 80.09 kB / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1397, allocations: 0 / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1397, allocations: 0 / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1397, allocations: 0 / 484.2 MB, free: 2.738 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005227/0.1402, allocations: 403 kB / 484.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1403, allocations: 8.031 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.773e-05/0.1403, allocations: 42.55 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.1404, allocations: 11.81 kB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.1406, allocations: 198.8 kB / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1406, allocations: 3.938 kB / 484.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1407, allocations: 8 kB / 484.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1409, allocations: 65.67 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1409, allocations: 4 kB / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1409, allocations: 0 / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1409, allocations: 3.984 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1411, allocations: 51.91 kB / 484.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.1416, allocations: 336.6 kB / 485.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1419, allocations: 66.58 kB / 485.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.019e-05/0.142, allocations: 32.97 kB / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.142, allocations: 11.91 kB / 485.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.142, allocations: 34.56 kB / 485.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1421, allocations: 0 / 485.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001478/0.1435, allocations: 0.4894 MB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1436, allocations: 55.41 kB / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1438, allocations: 182.8 kB / 486.1 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1438, allocations: 29.7 kB / 486.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.1439, allocations: 104 kB / 486.3 MB, free: 428 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.1439, allocations: 39.45 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.1439, allocations: 0 / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1441, allocations: 326.8 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.1442, allocations: 67.83 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1444, allocations: 63.95 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1445, allocations: 63.97 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1446, allocations: 0 / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003408/0.1449, allocations: 181.8 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1449, allocations: 11.95 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1449, allocations: 0 / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.145, allocations: 4 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1451, allocations: 27.98 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1451, allocations: 7.875 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.1452, allocations: 15.98 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1452, allocations: 4 kB / 487.1 MB, free: 15.61 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0001017/0.1453, allocations: 133.8 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.1454, allocations: 11.81 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.1458, allocations: 202.3 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1458, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1458, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1458, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.1465, allocations: 0.5194 MB / 487.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1466, allocations: 0 / 487.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1467, allocations: 31.92 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.1467, allocations: 8.062 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1467, allocations: 4 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1467, allocations: 0 / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.1467, allocations: 8.125 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.1471, allocations: 285.1 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.1472, allocations: 100.9 kB / 488.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1472, allocations: 4 kB / 488.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.1473, allocations: 19.98 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.1474, allocations: 7.984 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1474, allocations: 4 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1475, allocations: 143.2 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1475, allocations: 0 / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.1478, allocations: 28 kB / 488.5 MB, free: 14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001708/0.1495, allocations: 1.159 MB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.1499, allocations: 147.8 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1499, allocations: 0 / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.1501, allocations: 80.02 kB / 489.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1504, allocations: 15.98 kB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.152, allocations: 0.9107 MB / 490.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1524, allocations: 0.72 MB / 491.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.749e-05/0.1525, allocations: 32.52 kB / 491.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.1526, allocations: 39.42 kB / 491.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1526, allocations: 0 / 491.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.1681, allocations: 2.975 MB / 494.6 MB, free: 8.098 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.1683, allocations: 218.8 kB / 494.8 MB, free: 7.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.008, allocations: 0 / 494.8 MB, free: 7.855 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat