Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007964/0.0007964, allocations: 98.08 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009966/0.0009966, allocations: 195.2 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.479/1.479, allocations: 227.4 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.2175/0.2175, allocations: 45.93 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 11.98 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1331, allocations: 63.46 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002235/0.1354, allocations: 1.314 MB / 482.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.1363, allocations: 487.2 kB / 483.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.1364, allocations: 4 kB / 483.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.1367, allocations: 67.83 kB / 483.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.1369, allocations: 83.73 kB / 483.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1372, allocations: 79.53 kB / 483.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.1373, allocations: 71.83 kB / 483.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.1374, allocations: 11.97 kB / 483.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.1375, allocations: 31.86 kB / 483.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1376, allocations: 39.83 kB / 483.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1376, allocations: 7.938 kB / 483.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-05/0.1377, allocations: 35.98 kB / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.1377, allocations: 15.92 kB / 483.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.1378, allocations: 37.64 kB / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.1379, allocations: 80.16 kB / 484 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1379, allocations: 4 kB / 484 MB, free: 2.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1379, allocations: 0 / 484 MB, free: 2.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1379, allocations: 0 / 484 MB, free: 2.91 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.0004519/0.1384, allocations: 391 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.1385, allocations: 8.031 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.1385, allocations: 34.56 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1385, allocations: 11.81 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1387, allocations: 198.8 kB / 484.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.1388, allocations: 4 kB / 484.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1388, allocations: 7.938 kB / 484.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1389, allocations: 57.61 kB / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.139, allocations: 0 / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.139, allocations: 3.938 kB / 484.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.139, allocations: 8 kB / 484.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.878e-05/0.1391, allocations: 27.97 kB / 484.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1395, allocations: 296.8 kB / 485 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1396, allocations: 42.59 kB / 485.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.032e-05/0.1396, allocations: 20.84 kB / 485.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1397, allocations: 8 kB / 485.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1397, allocations: 30.56 kB / 485.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1397, allocations: 0 / 485.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00086/0.1406, allocations: 257 kB / 485.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1406, allocations: 55.41 kB / 485.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.1408, allocations: 200.8 kB / 485.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1409, allocations: 25.7 kB / 485.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.1409, allocations: 104.1 kB / 485.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.141, allocations: 31.55 kB / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.141, allocations: 0 / 485.8 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1411, allocations: 326.8 kB / 486.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.1412, allocations: 31.92 kB / 486.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.146e-05/0.1413, allocations: 23.98 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.1414, allocations: 36.2 kB / 486.2 MB, free: 500 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1414, allocations: 0 / 486.2 MB, free: 500 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001991/0.1416, allocations: 105.6 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1416, allocations: 11.98 kB / 486.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1416, allocations: 0 / 486.3 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1416, allocations: 3.953 kB / 486.3 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.1418, allocations: 16 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.1418, allocations: 3.984 kB / 486.3 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.1418, allocations: 4 kB / 486.3 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1418, allocations: 15.94 kB / 486.3 MB, free: 332 kB / 350.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 9.368e-05/0.1419, allocations: 121.8 kB / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.142, allocations: 11.81 kB / 486.5 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.1422, allocations: 127 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1422, allocations: 7.953 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.1422, allocations: 7.984 kB / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1422, allocations: 0 / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.1428, allocations: 407.3 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1428, allocations: 0 / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.1429, allocations: 23.89 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1429, allocations: 0 / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1429, allocations: 11.92 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1429, allocations: 0 / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1429, allocations: 0 / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.1432, allocations: 212.2 kB / 487.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.1432, allocations: 89 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.1433, allocations: 3.953 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.1433, allocations: 12 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.1434, allocations: 11.92 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1434, allocations: 8.422 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.1436, allocations: 160.9 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1436, allocations: 0 / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1438, allocations: 23.98 kB / 487.5 MB, free: 15 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.00138/0.1452, allocations: 1.088 MB / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1454, allocations: 75.88 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1454, allocations: 0 / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/0.1455, allocations: 39.92 kB / 488.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1458, allocations: 20.05 kB / 488.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1471, allocations: 0.7328 MB / 489.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1474, allocations: 0.7119 MB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.1475, allocations: 12.95 kB / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.857e-05/0.1475, allocations: 35.42 kB / 490.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of SimCode: time 1.683e-06/0.1475, allocations: 0 / 490.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.1625, allocations: 2.604 MB / 492.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.1628, allocations: 217.7 kB / 493.1 MB, free: 9.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.827/1.99, allocations: 0 / 493.1 MB, free: 9.617 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat does not exist to compare? outputFormat=mat