Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.0009312/0.0009313, allocations: 99.55 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.0009366/0.0009367, allocations: 192.7 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.413/1.413, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002645, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1288, allocations: 63.47 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00205/0.1309, allocations: 1.346 MB / 483 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.132, allocations: 0.511 MB / 483.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.1321, allocations: 0 / 483.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00056/0.1326, allocations: 451.2 kB / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.133, allocations: 271.4 kB / 484.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1334, allocations: 163 kB / 484.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.1337, allocations: 131.7 kB / 484.5 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1338, allocations: 19.98 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.1339, allocations: 111.7 kB / 484.6 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.1342, allocations: 159.7 kB / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1342, allocations: 0 / 484.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.1343, allocations: 28 kB / 484.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.1344, allocations: 91.67 kB / 484.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.891e-05/0.1345, allocations: 61.52 kB / 485 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1348, allocations: 199.9 kB / 485.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1348, allocations: 0 / 485.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1349, allocations: 3.938 kB / 485.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1349, allocations: 0 / 485.2 MB, free: 1.723 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.0009875/0.1359, allocations: 0.5948 MB / 485.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.1359, allocations: 12.03 kB / 485.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.136, allocations: 38.56 kB / 485.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.1361, allocations: 43.44 kB / 485.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.1365, allocations: 279.3 kB / 486.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1365, allocations: 3.938 kB / 486.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.1366, allocations: 8 kB / 486.1 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1367, allocations: 53.62 kB / 486.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1368, allocations: 0 / 486.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.1368, allocations: 4 kB / 486.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.1368, allocations: 0 / 486.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1369, allocations: 35.97 kB / 486.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.1376, allocations: 408.6 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.1378, allocations: 50.5 kB / 486.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.779e-05/0.1379, allocations: 20.94 kB / 486.7 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.138, allocations: 4 kB / 486.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.138, allocations: 30.56 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.138, allocations: 0 / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007458/0.1388, allocations: 260.1 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.1388, allocations: 51.41 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009942/0.1398, allocations: 0.8777 MB / 487.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1399, allocations: 29.7 kB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.1401, allocations: 220.1 kB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1401, allocations: 23.73 kB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.1401, allocations: 0 / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1403, allocations: 358.8 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/0.1404, allocations: 23.98 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.43e-05/0.1405, allocations: 31.97 kB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.342e-05/0.1405, allocations: 27.98 kB / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1405, allocations: 0 / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002185/0.1408, allocations: 129 kB / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1408, allocations: 10.5 kB / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1408, allocations: 0 / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1408, allocations: 0 / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.1409, allocations: 20.19 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1409, allocations: 0 / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.762e-05/0.141, allocations: 19.97 kB / 488.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.141, allocations: 0 / 488.8 MB, free: 13.87 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.0001858/0.1412, allocations: 217.7 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.1413, allocations: 43.44 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.1416, allocations: 153 kB / 489.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1416, allocations: 4 kB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1416, allocations: 3.953 kB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1416, allocations: 3.984 kB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.1421, allocations: 478.5 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1421, allocations: 0 / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.446e-05/0.1422, allocations: 15.94 kB / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1422, allocations: 0 / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1422, allocations: 7.953 kB / 489.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1422, allocations: 7.984 kB / 489.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1422, allocations: 0 / 489.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1425, allocations: 215 kB / 489.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/0.1426, allocations: 124.5 kB / 490 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1426, allocations: 0 / 490 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.1427, allocations: 11.94 kB / 490 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.1428, allocations: 4 kB / 490 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1428, allocations: 4 kB / 490 MB, free: 12.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007069/0.1435, allocations: 0.6628 MB / 490.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1435, allocations: 0 / 490.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1438, allocations: 23.98 kB / 490.7 MB, free: 11.81 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.001575/0.1454, allocations: 1.053 MB / 491.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1456, allocations: 63.95 kB / 491.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1456, allocations: 0 / 491.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.665e-05/0.1457, allocations: 35.92 kB / 491.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.146, allocations: 26.25 kB / 491.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.1491, allocations: 2.367 MB / 494.3 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.1495, allocations: 0.8301 MB / 495.1 MB, free: 7.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.999e-05/0.1496, allocations: 20.89 kB / 495.1 MB, free: 7.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.1498, allocations: 111.4 kB / 495.2 MB, free: 7.332 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1498, allocations: 4.047 kB / 495.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.1656, allocations: 5.53 MB / 0.489 GB, free: 1.906 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.1658, allocations: 220.1 kB / 0.4892 GB, free: 1.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.129, allocations: 0 / 0.4892 GB, free: 1.664 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat