Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.0009509/0.0009512, allocations: 103.7 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001142, allocations: 193.9 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002644, allocations: 8 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.00218/0.1315, allocations: 1.373 MB / 483 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.1324, allocations: 499.2 kB / 483.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.1325, allocations: 4 kB / 483.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1328, allocations: 43.88 kB / 483.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.133, allocations: 75.73 kB / 483.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1333, allocations: 115.2 kB / 483.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1335, allocations: 59.83 kB / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.1336, allocations: 28.14 kB / 483.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.1337, allocations: 27.86 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.016e-05/0.1338, allocations: 39.83 kB / 483.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.1338, allocations: 4 kB / 483.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1339, allocations: 43.92 kB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.838e-05/0.134, allocations: 15.98 kB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.134, allocations: 33.64 kB / 484 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1342, allocations: 84.08 kB / 484.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1342, allocations: 4 kB / 484.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1342, allocations: 4 kB / 484.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1342, allocations: 3.938 kB / 484.1 MB, free: 2.82 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.0005306/0.1347, allocations: 395 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1348, allocations: 12.03 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.1349, allocations: 38.55 kB / 484.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.1349, allocations: 11.81 kB / 484.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1351, allocations: 198.8 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1351, allocations: 4 kB / 484.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1352, allocations: 8 kB / 484.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1353, allocations: 69.61 kB / 484.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1354, allocations: 0 / 484.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1354, allocations: 4 kB / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1354, allocations: 3.938 kB / 484.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1355, allocations: 51.95 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.136, allocations: 308.7 kB / 485.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.1362, allocations: 62.55 kB / 485.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.336e-05/0.1363, allocations: 24.97 kB / 485.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1363, allocations: 4 kB / 485.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1364, allocations: 30.56 kB / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1364, allocations: 0 / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001392/0.1378, allocations: 481.2 kB / 485.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1378, allocations: 51.41 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1381, allocations: 186.2 kB / 486 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1381, allocations: 25.7 kB / 486 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.1382, allocations: 108 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.1382, allocations: 35.55 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.1382, allocations: 0 / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1384, allocations: 322.8 kB / 486.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1386, allocations: 51.97 kB / 486.5 MB, free: 168 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1387, allocations: 51.91 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1388, allocations: 55.97 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1388, allocations: 0 / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000322/0.1391, allocations: 161.5 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1392, allocations: 14.08 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1392, allocations: 0 / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1392, allocations: 0 / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1393, allocations: 31.97 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1393, allocations: 7.922 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.418e-05/0.1394, allocations: 16 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1394, allocations: 4 kB / 486.8 MB, free: 15.82 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.0001345/0.1395, allocations: 125.8 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1396, allocations: 7.906 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.14, allocations: 194.4 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.14, allocations: 4 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.14, allocations: 0 / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.14, allocations: 0 / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007018/0.1407, allocations: 488 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1407, allocations: 64 / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.789e-05/0.1408, allocations: 35.98 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1408, allocations: 4 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1409, allocations: 0 / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1409, allocations: 0 / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1409, allocations: 4 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.1412, allocations: 272.9 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.387e-05/0.1413, allocations: 96.95 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1413, allocations: 0 / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.1414, allocations: 16.19 kB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.1415, allocations: 11.98 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.1415, allocations: 7.984 kB / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1416, allocations: 135.2 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1416, allocations: 0 / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1419, allocations: 23.98 kB / 488.2 MB, free: 14.31 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.001685/0.1436, allocations: 1.153 MB / 489.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1439, allocations: 131.7 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1439, allocations: 0 / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.1441, allocations: 67.91 kB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1445, allocations: 19.44 kB / 489.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1461, allocations: 0.8283 MB / 490.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.1466, allocations: 0.7082 MB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.348e-05/0.1467, allocations: 28.34 kB / 491.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.011e-05/0.1468, allocations: 31.42 kB / 491.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1468, allocations: 0 / 491.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.1611, allocations: 2.832 MB / 494 MB, free: 8.688 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/0.1613, allocations: 222 kB / 494.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.094, allocations: 3.938 kB / 494.3 MB, free: 8.441 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat does not exist to compare? outputFormat=mat