Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0012/0.0012, 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.001773/0.001773, 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.411/1.411, allocations: 227.4 MB / 246 MB, free: 10.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 45.92 MB / 344.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003208, allocations: 15.92 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002085/0.1352, allocations: 1.354 MB / 483 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.1369, allocations: 1.101 MB / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.137, allocations: 0 / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1372, allocations: 31.84 kB / 484.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.1375, allocations: 67.81 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.1379, allocations: 155 kB / 484.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.138, allocations: 63.83 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1382, allocations: 19.98 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.092e-05/0.1382, allocations: 23.86 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1384, allocations: 35.84 kB / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1384, allocations: 0 / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1386, allocations: 83.88 kB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.1386, allocations: 11.98 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.1387, allocations: 37.64 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1389, allocations: 112.1 kB / 484.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1389, allocations: 7.938 kB / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1389, allocations: 0 / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1389, allocations: 0 / 484.7 MB, free: 2.137 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.000567/0.1395, allocations: 403.1 kB / 485.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1396, allocations: 8.031 kB / 485.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.1396, allocations: 38.55 kB / 485.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.1396, allocations: 15.75 kB / 485.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1399, allocations: 198.9 kB / 485.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1399, allocations: 4 kB / 485.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.1399, allocations: 0 / 485.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1401, allocations: 83.38 kB / 485.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1402, allocations: 0 / 485.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1402, allocations: 0 / 485.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1402, allocations: 4 kB / 485.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1403, allocations: 51.89 kB / 485.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.1408, allocations: 316.7 kB / 485.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.1409, allocations: 50.56 kB / 485.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.141, allocations: 28.94 kB / 485.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.141, allocations: 0 / 485.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.141, allocations: 50.42 kB / 486 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.1411, allocations: 0 / 486 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007423/0.1418, allocations: 253.5 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1419, allocations: 85.03 kB / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.142, allocations: 155.9 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.142, allocations: 25.7 kB / 486.5 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.1421, allocations: 104 kB / 486.6 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1421, allocations: 19.72 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1421, allocations: 0 / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1423, allocations: 322.8 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1424, allocations: 47.97 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1425, allocations: 61.67 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1427, allocations: 52 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1427, allocations: 0 / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.143, allocations: 149.6 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.143, allocations: 4 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.143, allocations: 3.938 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.143, allocations: 3.984 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1432, allocations: 23.98 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1432, allocations: 0 / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.1432, allocations: 15.98 kB / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1433, allocations: 4 kB / 487.3 MB, free: 15.36 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.0001128/0.1434, allocations: 121.8 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1434, allocations: 19.8 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.1438, allocations: 154.3 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1438, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1438, allocations: 0 / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1438, allocations: 4 kB / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005457/0.1444, allocations: 434.8 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1444, allocations: 0 / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-05/0.1445, allocations: 27.98 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.1445, allocations: 0 / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1445, allocations: 3.938 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1445, allocations: 4 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.1445, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.1449, allocations: 243.3 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.1449, allocations: 96.95 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.145, allocations: 4 kB / 488.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.622e-05/0.1451, allocations: 19.98 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.1451, allocations: 4 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1451, allocations: 3.984 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.773e-05/0.1452, allocations: 115.3 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1452, allocations: 0 / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1455, allocations: 43.98 kB / 488.5 MB, free: 13.99 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.001646/0.1472, allocations: 1.159 MB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003026/0.1475, allocations: 107.9 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1475, allocations: 0 / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1476, allocations: 68.03 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.1479, allocations: 12 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1493, allocations: 0.7294 MB / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.1496, allocations: 0.7004 MB / 491.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1497, allocations: 24.42 kB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.757e-05/0.1498, allocations: 31.42 kB / 491.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1498, allocations: 0 / 491.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.1651, allocations: 3.097 MB / 494.5 MB, free: 8.246 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/0.1654, allocations: 228.9 kB / 494.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.127, allocations: 0 / 494.7 MB, free: 8.004 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat does not exist to compare? outputFormat=mat