Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 100.7 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00155/0.00155, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 45.92 MB / 344.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002499/0.0002499, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1321, allocations: 63.46 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.001903/0.1341, allocations: 1.354 MB / 483 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000854/0.135, allocations: 0.5266 MB / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.135, allocations: 0 / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005495/0.1356, allocations: 451.1 kB / 484 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.1359, allocations: 263.5 kB / 484.2 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1363, allocations: 163.1 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1365, allocations: 143.6 kB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1366, allocations: 19.97 kB / 484.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.1367, allocations: 99.73 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1369, allocations: 171.7 kB / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.137, allocations: 0 / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.573e-05/0.137, allocations: 27.98 kB / 484.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/0.1371, allocations: 83.67 kB / 484.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.1372, allocations: 69.52 kB / 485 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1374, allocations: 196 kB / 485.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1374, allocations: 0 / 485.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1374, allocations: 3.938 kB / 485.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.1374, allocations: 0 / 485.2 MB, free: 1.688 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.0006408/0.1381, allocations: 0.6143 MB / 485.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.1381, allocations: 8.031 kB / 485.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1382, allocations: 34.56 kB / 485.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.1382, allocations: 51.36 kB / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.1385, allocations: 275.4 kB / 486.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.243e-06/0.1385, allocations: 0 / 486.1 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1386, allocations: 8 kB / 486.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1387, allocations: 65.66 kB / 486.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.1387, allocations: 0 / 486.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1388, allocations: 4 kB / 486.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1388, allocations: 4 kB / 486.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1389, allocations: 51.88 kB / 486.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.1395, allocations: 420.6 kB / 486.7 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1396, allocations: 46.56 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.852e-05/0.1397, allocations: 32.94 kB / 486.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1397, allocations: 0 / 486.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1398, allocations: 34.5 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 4.168e-06/0.1398, allocations: 3.984 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008412/0.1406, allocations: 347.8 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.1407, allocations: 51.41 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.1415, allocations: 0.8737 MB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1415, allocations: 29.7 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1417, allocations: 216 kB / 488.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1417, allocations: 31.77 kB / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.1417, allocations: 0 / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1419, allocations: 362.8 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.142, allocations: 43.97 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.933e-05/0.1421, allocations: 47.97 kB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1422, allocations: 47.97 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1422, allocations: 0 / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003063/0.1425, allocations: 173.1 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1426, allocations: 8 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1426, allocations: 3.938 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.1426, allocations: 0 / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1427, allocations: 27.94 kB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1427, allocations: 4 kB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.381e-05/0.1428, allocations: 11.98 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1428, allocations: 0 / 489.1 MB, free: 13.57 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 (7): * Single equations (assignments): 7 * 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.0001776/0.143, allocations: 225.7 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.112e-05/0.143, allocations: 47.44 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.1434, allocations: 193.4 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1434, allocations: 4 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1434, allocations: 3.953 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1434, allocations: 0 / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006538/0.1441, allocations: 0.5258 MB / 490 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1441, allocations: 0 / 490 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.1442, allocations: 19.98 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1442, allocations: 4 kB / 490.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.1442, allocations: 7.891 kB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1442, allocations: 480 / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1442, allocations: 0 / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.1446, allocations: 278.9 kB / 490.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.1447, allocations: 120.5 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1447, allocations: 4 kB / 490.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1448, allocations: 19.94 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.1449, allocations: 7.984 kB / 490.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1449, allocations: 4 kB / 490.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005979/0.1455, allocations: 0.6589 MB / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1455, allocations: 0 / 491.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1457, allocations: 24 kB / 491.2 MB, free: 11.33 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 (7): * Single equations (assignments): 7 * 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.001349/0.1471, allocations: 1.103 MB / 492.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.1474, allocations: 103.9 kB / 492.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1474, allocations: 0 / 492.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1475, allocations: 55.91 kB / 492.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1479, allocations: 36.12 kB / 492.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.1508, allocations: 2.442 MB / 494.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1513, allocations: 0.8302 MB / 495.7 MB, free: 6.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.486e-05/0.1513, allocations: 28.94 kB / 495.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1515, allocations: 111.4 kB / 495.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1515, allocations: 0 / 495.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.168, allocations: 5.642 MB / 0.4898 GB, free: 1.125 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.1683, allocations: 217.6 kB / 0.49 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.089, allocations: 0 / 0.49 GB, free: 0.8828 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat does not exist to compare? outputFormat=mat