Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000965/0.0009645, allocations: 98.31 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 193.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 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.214/0.214, allocations: 45.91 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.0002768, allocations: 19.92 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1328, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.002407/0.1353, allocations: 1.373 MB / 483 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.1363, allocations: 0.4914 MB / 483.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.1363, allocations: 0 / 483.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002563/0.1366, allocations: 47.86 kB / 483.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1368, allocations: 75.73 kB / 483.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1372, allocations: 115.2 kB / 483.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.1374, allocations: 67.83 kB / 483.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1375, allocations: 20.22 kB / 483.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.055e-05/0.1376, allocations: 31.84 kB / 483.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1377, allocations: 31.84 kB / 483.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1377, allocations: 0 / 483.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.961e-05/0.1378, allocations: 43.98 kB / 483.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.1379, allocations: 15.92 kB / 483.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.1379, allocations: 37.64 kB / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1381, allocations: 88.02 kB / 484.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1381, allocations: 0 / 484.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1381, allocations: 0 / 484.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1381, allocations: 4 kB / 484.1 MB, free: 2.812 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.0006235/0.1387, allocations: 403 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.1388, allocations: 8.031 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.1388, allocations: 38.56 kB / 484.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.1389, allocations: 11.81 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1391, allocations: 198.8 kB / 484.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.1391, allocations: 0 / 484.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1392, allocations: 12 kB / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1393, allocations: 61.67 kB / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1394, allocations: 0 / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1394, allocations: 3.984 kB / 484.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1394, allocations: 4 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1395, allocations: 51.91 kB / 484.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.14, allocations: 308.8 kB / 485.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.1402, allocations: 66.58 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.691e-05/0.1403, allocations: 32.97 kB / 485.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1404, allocations: 0 / 485.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1404, allocations: 34.56 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.1404, allocations: 0 / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001635/0.142, allocations: 472.8 kB / 485.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.1422, allocations: 51.41 kB / 485.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1424, allocations: 186.8 kB / 486 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.1425, allocations: 29.7 kB / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.1426, allocations: 108 kB / 486.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.1426, allocations: 27.56 kB / 486.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.1426, allocations: 8 kB / 486.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002708/0.1429, allocations: 318.8 kB / 486.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.143, allocations: 59.91 kB / 486.5 MB, free: 152 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1432, allocations: 51.95 kB / 486.6 MB, free: 100 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1433, allocations: 47.98 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1433, allocations: 4 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003431/0.1437, allocations: 157.4 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1437, allocations: 19.94 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1437, allocations: 3.938 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1437, allocations: 0 / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1438, allocations: 27.98 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1439, allocations: 3.938 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.1439, allocations: 15.98 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1439, allocations: 0 / 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.0001159/0.1441, allocations: 125.8 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.1441, allocations: 11.91 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.1445, allocations: 182.2 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1445, allocations: 0 / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1445, allocations: 0 / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.1446, allocations: 8.547 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006872/0.1452, allocations: 488 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1453, allocations: 0 / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1454, allocations: 39.98 kB / 487.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1454, allocations: 3.984 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1454, allocations: 11.98 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1454, allocations: 0 / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1454, allocations: 0 / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.1458, allocations: 261.5 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1458, allocations: 96.95 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.1459, allocations: 4 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.556e-05/0.146, allocations: 23.98 kB / 488.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.146, allocations: 7.984 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.146, allocations: 4 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1462, allocations: 135.2 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1462, allocations: 0 / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1465, allocations: 24 kB / 488.2 MB, free: 14.3 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.001842/0.1483, allocations: 1.153 MB / 489.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.1486, allocations: 123.9 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1487, allocations: 0 / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.1488, 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.0003418/0.1491, allocations: 15.98 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.001559/0.1507, allocations: 0.84 MB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.1512, allocations: 0.7083 MB / 491.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.527e-05/0.1512, allocations: 20.39 kB / 491.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.1513, allocations: 35.42 kB / 491.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1513, allocations: 4 kB / 491.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.1646, allocations: 2.833 MB / 494 MB, free: 8.672 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.1648, allocations: 225 kB / 494.2 MB, free: 8.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.052, allocations: 0 / 494.2 MB, free: 8.43 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat does not exist to compare? outputFormat=mat