Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008586/0.0008585, allocations: 93.88 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002149/0.002149, allocations: 196.8 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246 MB, free: 11.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1956/0.1956, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 7.938 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002506/0.1418, allocations: 1.31 MB / 482.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.1427, allocations: 495.2 kB / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1428, allocations: 0 / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.1431, allocations: 75.83 kB / 483.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.1433, allocations: 87.72 kB / 483.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1436, allocations: 103.4 kB / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.1438, allocations: 67.81 kB / 483.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.1439, allocations: 15.98 kB / 483.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.1439, allocations: 23.86 kB / 483.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.144, allocations: 55.81 kB / 483.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.144, allocations: 0 / 483.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.1441, allocations: 36 kB / 483.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.1442, allocations: 23.91 kB / 483.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.1442, allocations: 37.62 kB / 483.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1444, allocations: 80.11 kB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1444, allocations: 0 / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1444, allocations: 0 / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1444, allocations: 3.938 kB / 484 MB, free: 2.855 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.0004653/0.1449, allocations: 398.9 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1449, allocations: 12.03 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.145, allocations: 38.55 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.145, allocations: 11.91 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1452, allocations: 199.5 kB / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-06/0.1452, allocations: 0 / 484.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1452, allocations: 4 kB / 484.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1454, allocations: 61.61 kB / 484.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1454, allocations: 0 / 484.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1454, allocations: 4 kB / 484.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.1454, allocations: 0 / 484.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.368e-05/0.1455, allocations: 31.97 kB / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.1459, allocations: 308.7 kB / 485.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1461, allocations: 58.44 kB / 485.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.1461, allocations: 20.94 kB / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1461, allocations: 0 / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1462, allocations: 30.56 kB / 485.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1462, allocations: 0 / 485.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008669/0.1471, allocations: 273 kB / 485.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.1471, allocations: 51.41 kB / 485.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1473, allocations: 222.8 kB / 485.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1473, allocations: 25.7 kB / 485.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.1474, allocations: 104.1 kB / 485.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.1474, allocations: 23.72 kB / 485.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.1474, allocations: 7.938 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.1475, allocations: 322.8 kB / 486.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.1476, allocations: 35.97 kB / 486.2 MB, free: 444 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1477, allocations: 27.98 kB / 486.3 MB, free: 416 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/0.1478, allocations: 43.98 kB / 486.3 MB, free: 372 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1478, allocations: 0 / 486.3 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002139/0.148, allocations: 121.5 kB / 486.4 MB, free: 244 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1481, allocations: 8 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1481, allocations: 0 / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1481, allocations: 7.953 kB / 486.4 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1482, allocations: 19.98 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1482, allocations: 3.938 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.143e-05/0.1483, allocations: 8 kB / 486.5 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.1483, allocations: 4 kB / 486.5 MB, free: 192 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 0.0001831/0.1485, allocations: 125.8 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1485, allocations: 11.91 kB / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.1488, allocations: 138.9 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1488, allocations: 16.3 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1488, allocations: 0 / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1488, allocations: 0 / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005069/0.1493, allocations: 431.6 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1493, allocations: 0 / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.1494, allocations: 27.89 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1494, allocations: 3.984 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1495, allocations: 8.016 kB / 487.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1495, allocations: 4 kB / 487.2 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1495, allocations: 4.078 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1497, allocations: 220.2 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.1498, allocations: 89 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1498, allocations: 7.953 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.1499, allocations: 8 kB / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1499, allocations: 11.92 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1499, allocations: 0 / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1501, allocations: 164.7 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1501, allocations: 0 / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1503, allocations: 24 kB / 487.7 MB, free: 14.81 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.00133/0.1517, allocations: 1.1 MB / 488.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1519, allocations: 87.89 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1519, allocations: 0 / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.152, allocations: 47.91 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1523, allocations: 12 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1536, allocations: 0.7981 MB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1538, allocations: 0.716 MB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.068e-05/0.1539, allocations: 20.95 kB / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/0.154, allocations: 35.42 kB / 490.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.154, allocations: 0 / 490.5 MB, free: 12.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.1705, allocations: 2.709 MB / 493.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.1708, allocations: 222.8 kB / 493.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.03, allocations: 3.938 kB / 493.5 MB, free: 9.211 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat does not exist to compare? outputFormat=mat