Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007906/0.0007907, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008443/0.0008443, allocations: 191.8 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.411/1.411, 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.2279/0.2279, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002861/0.0002862, allocations: 12 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002002/0.1338, allocations: 1.358 MB / 483 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1354, allocations: 1.101 MB / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.1354, allocations: 0 / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.1356, allocations: 27.91 kB / 484.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1358, allocations: 63.77 kB / 484.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1362, allocations: 155.1 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.1363, allocations: 67.81 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.308e-05/0.1364, allocations: 12 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.1364, allocations: 27.86 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1366, allocations: 39.77 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1366, allocations: 4 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1367, allocations: 83.89 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.1368, allocations: 11.92 kB / 484.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.1368, allocations: 37.64 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.137, allocations: 116 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.137, allocations: 0 / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.137, allocations: 0 / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.137, allocations: 0 / 484.7 MB, free: 2.121 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.0004766/0.1375, allocations: 415 kB / 485.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1376, allocations: 8.031 kB / 485.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.1376, allocations: 34.56 kB / 485.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.1376, allocations: 11.81 kB / 485.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.1378, allocations: 194.9 kB / 485.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1379, allocations: 4 kB / 485.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1379, allocations: 4 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1381, allocations: 87.31 kB / 485.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1381, allocations: 0 / 485.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.1381, allocations: 0 / 485.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1381, allocations: 0 / 485.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1383, allocations: 51.97 kB / 485.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.1387, allocations: 316.7 kB / 485.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.1388, allocations: 58.48 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.1389, allocations: 28.94 kB / 485.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1389, allocations: 0 / 485.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.139, allocations: 34.56 kB / 486 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.139, allocations: 0 / 486 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007262/0.1397, allocations: 261.2 kB / 486.2 MB, free: 468 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.1398, allocations: 81.11 kB / 486.3 MB, free: 368 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1399, allocations: 151.9 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.1399, allocations: 25.7 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.14, allocations: 108 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.14, allocations: 19.7 kB / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.14, allocations: 4 kB / 486.6 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1402, allocations: 318.8 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1403, allocations: 47.91 kB / 486.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1404, allocations: 57.69 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1406, allocations: 52.05 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1406, allocations: 4.031 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002856/0.1409, allocations: 145.4 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1409, allocations: 8 kB / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1409, allocations: 4 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1409, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1411, allocations: 19.98 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1411, allocations: 4 kB / 487.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.1411, allocations: 15.98 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1412, allocations: 7.938 kB / 487.3 MB, free: 15.35 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 9.994e-05/0.1413, allocations: 125.8 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1413, allocations: 11.86 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.1417, allocations: 158.6 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1417, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1417, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1417, allocations: 288 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.1422, allocations: 442.4 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1423, allocations: 0 / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.1424, allocations: 23.98 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1424, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1424, allocations: 3.984 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1424, allocations: 4 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1424, allocations: 0 / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.1428, allocations: 239.3 kB / 488.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.058e-05/0.1429, allocations: 96.95 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1429, allocations: 0 / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.143, allocations: 19.98 kB / 488.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.1431, allocations: 11.92 kB / 488.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1431, allocations: 4 kB / 488.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1432, allocations: 119.2 kB / 488.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1432, allocations: 0 / 488.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003077/0.1435, allocations: 47.92 kB / 488.5 MB, free: 13.96 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.001668/0.1452, allocations: 1.147 MB / 489.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.1455, allocations: 115.8 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1455, allocations: 0 / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1457, allocations: 51.97 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.146, allocations: 23.92 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1473, allocations: 0.7255 MB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1476, allocations: 0.7004 MB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.072e-05/0.1477, allocations: 20.41 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.1477, allocations: 39.45 kB / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1477, allocations: 0 / 491.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.1619, allocations: 3.094 MB / 494.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.1621, allocations: 229.6 kB / 494.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.143, allocations: 0 / 494.7 MB, free: 7.992 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat does not exist to compare? outputFormat=mat