Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008772/0.0008773, allocations: 94.14 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000855/0.000855, allocations: 193.6 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, 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.2155/0.2155, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002805, allocations: 11.94 kB / 418.2 MB, free: 20.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 63.47 MB / 481.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002247/0.1326, allocations: 1.37 MB / 483 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1337, allocations: 0.5227 MB / 483.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.1338, allocations: 7.938 kB / 483.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.1344, allocations: 443.2 kB / 484 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004153/0.1349, allocations: 271.5 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.1353, allocations: 159.3 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1356, allocations: 143.7 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1357, allocations: 16.22 kB / 484.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1358, allocations: 111.7 kB / 484.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1361, allocations: 163.7 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.1361, allocations: 4 kB / 484.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.1362, allocations: 39.98 kB / 484.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.1363, allocations: 83.69 kB / 484.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.1364, allocations: 65.52 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1366, allocations: 207.9 kB / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.1366, allocations: 0 / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1366, allocations: 0 / 485.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1367, allocations: 0 / 485.2 MB, free: 1.699 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.0008078/0.1375, allocations: 0.6143 MB / 485.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.1375, allocations: 8.031 kB / 485.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.1376, allocations: 34.55 kB / 485.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/0.1377, allocations: 43.44 kB / 485.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.138, allocations: 287.3 kB / 486.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.138, allocations: 4 kB / 486.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1381, allocations: 0 / 486.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1382, allocations: 65.61 kB / 486.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1383, allocations: 0 / 486.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1383, allocations: 11.94 kB / 486.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1383, allocations: 0 / 486.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1384, allocations: 35.97 kB / 486.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.139, allocations: 416.6 kB / 486.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.1392, allocations: 46.56 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.1393, allocations: 20.94 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1393, allocations: 0 / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1393, allocations: 38.59 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.1393, allocations: 0 / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001054/0.1404, allocations: 359.7 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1404, allocations: 51.41 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009329/0.1414, allocations: 0.8776 MB / 488.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1414, allocations: 29.7 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.1416, allocations: 224.1 kB / 488.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1417, allocations: 31.64 kB / 488.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.1417, allocations: 0 / 488.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1419, allocations: 358.8 kB / 488.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.142, allocations: 35.97 kB / 488.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.1421, allocations: 31.98 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.543e-05/0.1422, allocations: 43.97 kB / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1422, allocations: 0 / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002729/0.1424, allocations: 161 kB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1425, allocations: 11.89 kB / 489 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1425, allocations: 0 / 489 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.1425, allocations: 4 kB / 489 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1426, allocations: 24.41 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1426, allocations: 0 / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.1427, allocations: 8 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1427, allocations: 0 / 489 MB, free: 13.64 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 (8): * Single equations (assignments): 8 * 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.0002054/0.1429, allocations: 217.8 kB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.143, allocations: 39.44 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.1434, allocations: 193.7 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.1434, allocations: 7.984 kB / 489.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1434, allocations: 0 / 489.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1434, allocations: 0 / 489.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.1441, allocations: 0.5344 MB / 490 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1441, allocations: 0 / 490 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.1442, allocations: 19.98 kB / 490 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1442, allocations: 0 / 490 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1442, allocations: 8.031 kB / 490 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1442, allocations: 0 / 490 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1442, allocations: 3.938 kB / 490.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.1445, allocations: 255.8 kB / 490.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.462e-05/0.1446, allocations: 124.5 kB / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.1447, allocations: 0 / 490.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.1448, allocations: 7.984 kB / 490.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.1448, allocations: 8 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-06/0.1448, allocations: 4 kB / 490.4 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007044/0.1455, allocations: 0.6628 MB / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1455, allocations: 0 / 491.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.1458, allocations: 32 kB / 491.1 MB, free: 11.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001654/0.1475, allocations: 1.138 MB / 492.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.1477, allocations: 83.95 kB / 492.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1478, allocations: 0 / 492.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.1479, allocations: 43.92 kB / 492.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1482, allocations: 26.3 kB / 492.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.1514, allocations: 2.454 MB / 494.9 MB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.1519, allocations: 0.8302 MB / 495.7 MB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.681e-05/0.152, allocations: 24.72 kB / 495.7 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.1522, allocations: 123.4 kB / 495.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1522, allocations: 4 kB / 495.9 MB, free: 6.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.1697, allocations: 5.844 MB / 0.4899 GB, free: 1.02 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.1699, allocations: 221.4 kB / 0.4902 GB, free: 0.7773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.149, allocations: 7.938 kB / 0.4902 GB, free: 0.7695 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat