Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001017/0.001017, 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.001308/0.001308, 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.463/1.463, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 45.91 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 63.47 MB / 481.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001982/0.1345, allocations: 1.345 MB / 483 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.1353, allocations: 0.4914 MB / 483.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.1354, allocations: 4 kB / 483.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.136, allocations: 439.2 kB / 483.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004047/0.1364, allocations: 275.4 kB / 484.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.1368, allocations: 115.2 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.1369, allocations: 131.7 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.1371, allocations: 8 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.1372, allocations: 111.7 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1374, allocations: 167.7 kB / 484.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1374, allocations: 0 / 484.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.562e-05/0.1375, allocations: 24 kB / 484.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1376, allocations: 91.69 kB / 484.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.1376, allocations: 61.52 kB / 484.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1379, allocations: 195.9 kB / 485.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1379, allocations: 0 / 485.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1379, allocations: 0 / 485.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1379, allocations: 4 kB / 485.1 MB, free: 1.848 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.000673/0.1386, allocations: 0.6026 MB / 485.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1386, allocations: 12.02 kB / 485.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.1387, allocations: 30.56 kB / 485.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.1387, allocations: 39.53 kB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.139, allocations: 287.2 kB / 486 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.139, allocations: 0 / 486 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1391, allocations: 8 kB / 486 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1392, allocations: 49.67 kB / 486.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1393, allocations: 4 kB / 486.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1393, allocations: 4 kB / 486.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1393, allocations: 4 kB / 486.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.1394, allocations: 31.91 kB / 486.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.1399, allocations: 388.6 kB / 486.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1401, allocations: 50.55 kB / 486.6 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.1401, allocations: 20.8 kB / 486.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1402, allocations: 0 / 486.6 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1402, allocations: 34.56 kB / 486.6 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.1402, allocations: 0 / 486.6 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005988/0.1408, allocations: 252.1 kB / 486.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.1408, allocations: 51.41 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008016/0.1417, allocations: 0.8737 MB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1417, allocations: 29.64 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1419, allocations: 236 kB / 488 MB, free: 14.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1419, allocations: 15.75 kB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1419, allocations: 0 / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.142, allocations: 358.8 kB / 488.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.1421, allocations: 23.98 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.473e-05/0.1422, allocations: 23.98 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.589e-05/0.1423, allocations: 23.98 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1423, allocations: 0 / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002013/0.1425, allocations: 129 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1425, allocations: 8 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1425, allocations: 0 / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1425, allocations: 0 / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.1426, allocations: 15.95 kB / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1426, allocations: 0 / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.1427, allocations: 11.98 kB / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1427, allocations: 4 kB / 488.6 MB, free: 14.04 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 (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.0001753/0.1429, allocations: 209.8 kB / 488.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.1429, allocations: 39.52 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.1432, allocations: 149 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1432, allocations: 0 / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1432, allocations: 7.953 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1432, allocations: 0 / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.1438, allocations: 466.5 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1438, allocations: 0 / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.198e-05/0.1438, allocations: 20.3 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1438, allocations: 4 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1439, allocations: 7.953 kB / 489.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1439, allocations: 4 kB / 489.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1439, allocations: 3.938 kB / 489.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1441, allocations: 215 kB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.1442, allocations: 112.6 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.1442, allocations: 4 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.1443, allocations: 11.95 kB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.1443, allocations: 3.984 kB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1443, allocations: 7.938 kB / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005851/0.1449, allocations: 0.6589 MB / 490.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1449, allocations: 0 / 490.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1452, allocations: 20 kB / 490.6 MB, free: 12.01 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.001288/0.1465, allocations: 1.055 MB / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1467, allocations: 51.97 kB / 491.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1467, allocations: 0 / 491.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.517e-05/0.1468, allocations: 31.92 kB / 491.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1471, allocations: 30.25 kB / 491.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.1501, allocations: 2.33 MB / 494.1 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1505, allocations: 0.8262 MB / 494.9 MB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.1505, allocations: 11.97 kB / 494.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1507, allocations: 99.41 kB / 495 MB, free: 7.605 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1507, allocations: 11.94 kB / 495 MB, free: 7.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.1666, allocations: 5.461 MB / 0.4887 GB, free: 2.242 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.1669, allocations: 220.1 kB / 0.4889 GB, free: 2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.056, allocations: 0 / 0.4889 GB, free: 2 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat does not exist to compare? outputFormat=mat