Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009534/0.0009534, allocations: 102.4 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 189.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1984/0.1984, allocations: 45.91 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002596, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1291, allocations: 63.47 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001913/0.1311, allocations: 1.307 MB / 482.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.132, allocations: 0.4914 MB / 483.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.132, allocations: 0 / 483.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.1323, allocations: 131.7 kB / 483.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.1326, allocations: 103.8 kB / 483.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1328, allocations: 95.81 kB / 483.8 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.133, allocations: 79.78 kB / 483.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.1331, allocations: 12 kB / 483.9 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1332, allocations: 47.83 kB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.1333, allocations: 63.8 kB / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.1333, allocations: 3.938 kB / 484 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.418e-05/0.1334, allocations: 39.97 kB / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1335, allocations: 23.92 kB / 484 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.1335, allocations: 41.64 kB / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1337, allocations: 96.08 kB / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1337, allocations: 0 / 484.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1337, allocations: 3.938 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1337, allocations: 4 kB / 484.2 MB, free: 2.676 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.0004799/0.1342, allocations: 418.7 kB / 484.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1343, allocations: 8.031 kB / 484.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.1343, allocations: 34.56 kB / 484.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.1343, allocations: 15.81 kB / 484.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.1346, allocations: 202.8 kB / 484.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.1346, allocations: 0 / 484.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.1346, allocations: 4 kB / 484.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1347, allocations: 65.59 kB / 484.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1348, allocations: 0 / 484.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1348, allocations: 4 kB / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1348, allocations: 0 / 484.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.1349, allocations: 31.97 kB / 484.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1353, allocations: 316.7 kB / 485.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1354, allocations: 50.5 kB / 485.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.212e-05/0.1355, allocations: 24.94 kB / 485.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.1355, allocations: 0 / 485.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1355, allocations: 38.56 kB / 485.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1356, allocations: 0 / 485.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008424/0.1364, allocations: 276.9 kB / 485.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1364, allocations: 55.34 kB / 485.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1367, allocations: 271.8 kB / 485.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1367, allocations: 33.7 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.1368, allocations: 116 kB / 486.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1369, allocations: 23.62 kB / 486.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.1369, allocations: 4 kB / 486.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.137, allocations: 326.8 kB / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.1371, allocations: 39.91 kB / 486.5 MB, free: 144 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.1372, allocations: 35.98 kB / 486.5 MB, free: 108 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.753e-05/0.1372, allocations: 35.97 kB / 486.5 MB, free: 72 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1373, allocations: 0 / 486.5 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002195/0.1375, allocations: 125.5 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1375, allocations: 4 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1375, allocations: 0 / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1375, allocations: 8.375 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.1376, allocations: 19.92 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1377, allocations: 4 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.1377, allocations: 7.906 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1377, allocations: 0 / 486.7 MB, free: 15.9 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.0001067/0.1378, allocations: 149.7 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1379, allocations: 7.906 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.1382, allocations: 151.2 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1382, allocations: 7.953 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1382, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1382, allocations: 4 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.1388, allocations: 435.3 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1388, allocations: 0 / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-05/0.1388, allocations: 35.91 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1389, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1389, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1389, allocations: 4 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1389, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.1391, allocations: 220.2 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.1392, allocations: 92.91 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.1392, allocations: 7.953 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1393, allocations: 11.94 kB / 487.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1394, allocations: 7.984 kB / 487.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1394, allocations: 0 / 487.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.1396, allocations: 220.1 kB / 488 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1396, allocations: 0 / 488 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1398, allocations: 20 kB / 488.1 MB, free: 14.45 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.00143/0.1412, allocations: 1.092 MB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1415, allocations: 83.89 kB / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1415, allocations: 0 / 489.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.1416, allocations: 43.92 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1419, allocations: 23.55 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1433, allocations: 0.941 MB / 490.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1436, allocations: 0.7199 MB / 491 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.74e-05/0.1437, allocations: 20.95 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.1438, allocations: 43.42 kB / 491 MB, free: 11.53 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1438, allocations: 0 / 491 MB, free: 11.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.158, allocations: 2.982 MB / 494 MB, free: 8.656 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.1582, allocations: 221.6 kB / 494.2 MB, free: 8.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.094, allocations: 0 / 494.2 MB, free: 8.414 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat does not exist to compare? outputFormat=mat