Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, 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.001231/0.001231, 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.421/1.421, 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.2042/0.2042, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002528, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1369, allocations: 63.46 MB / 481.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002472/0.1395, allocations: 1.431 MB / 483.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1411, allocations: 0.9557 MB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.1411, allocations: 0 / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.1415, allocations: 55.8 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.1417, allocations: 79.73 kB / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.142, allocations: 91.77 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1422, allocations: 95.69 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.309e-05/0.1423, allocations: 7.984 kB / 484.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.407e-05/0.1423, allocations: 47.78 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.1424, allocations: 39.78 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1424, allocations: 0 / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.1425, allocations: 32 kB / 484.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.1426, allocations: 31.89 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.1427, allocations: 45.64 kB / 484.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1428, allocations: 100.1 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1428, allocations: 4 kB / 484.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1428, allocations: 3.938 kB / 484.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.1428, allocations: 0 / 484.7 MB, free: 2.227 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005246/0.1434, allocations: 426.7 kB / 485.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.1434, allocations: 8.031 kB / 485.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.1435, allocations: 38.56 kB / 485.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1435, allocations: 15.81 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1438, allocations: 223.7 kB / 485.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1438, allocations: 8 kB / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.1438, allocations: 0 / 485.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.144, allocations: 53.67 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.144, allocations: 0 / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.144, allocations: 3.984 kB / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.144, allocations: 7.938 kB / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.993e-05/0.1441, allocations: 15.98 kB / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.1444, allocations: 300.8 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1446, allocations: 58.67 kB / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.1447, allocations: 24.78 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1447, allocations: 0 / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1449, allocations: 75.3 kB / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1449, allocations: 0 / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000526/0.1454, allocations: 181.1 kB / 486.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1455, allocations: 59.3 kB / 486.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.1458, allocations: 287 kB / 486.4 MB, free: 276 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1458, allocations: 25.7 kB / 486.4 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.1459, allocations: 116.1 kB / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.1459, allocations: 27.64 kB / 486.6 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.1459, allocations: 4 kB / 486.6 MB, free: 92 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1461, allocations: 330.8 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/0.1461, allocations: 20 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.228e-05/0.1462, allocations: 33.7 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/0.1463, allocations: 27.92 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1463, allocations: 0 / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.1465, allocations: 105.6 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1465, allocations: 12.03 kB / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1465, allocations: 0 / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1465, allocations: 0 / 487.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.1466, allocations: 19.92 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.1466, allocations: 7.953 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1467, allocations: 0 / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1467, allocations: 4 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001097/0.1468, allocations: 133.8 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.1468, allocations: 19.81 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.1469, allocations: 25.58 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1469, allocations: 3.984 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1469, allocations: 3.938 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1469, allocations: 4.328 kB / 487.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.1473, allocations: 407.3 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1473, allocations: 4 kB / 487.7 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.1474, allocations: 11.98 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1474, allocations: 4.031 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1474, allocations: 4 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1474, allocations: 3.953 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1474, allocations: 3.938 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.1476, allocations: 200.2 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1477, allocations: 96.91 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1477, allocations: 0 / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.267e-05/0.1478, allocations: 12 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1478, allocations: 15.88 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1478, allocations: 0 / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.1481, allocations: 216.6 kB / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1481, allocations: 0 / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1483, allocations: 28 kB / 488.3 MB, free: 14.25 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001405/0.1497, allocations: 1.086 MB / 489.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1499, allocations: 67.91 kB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1499, allocations: 0 / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.128e-05/0.15, allocations: 23.98 kB / 489.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1503, allocations: 31.92 kB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1518, allocations: 0.9322 MB / 490.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1521, allocations: 0.7199 MB / 491.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.859e-05/0.1522, allocations: 16.88 kB / 491.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.1522, allocations: 43.42 kB / 491.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1522, allocations: 0 / 491.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.1687, allocations: 3.383 MB / 494.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.169, allocations: 226 kB / 494.8 MB, free: 7.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.077, allocations: 0 / 494.8 MB, free: 7.867 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat