Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008695/0.0008695, allocations: 99.27 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008704/0.0008704, allocations: 198 kB / 17.91 MB, free: 6.059 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.3 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 45.91 MB / 344.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 12 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1367, allocations: 63.48 MB / 481.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00242/0.1392, allocations: 1.595 MB / 483.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.1408, allocations: 1.057 MB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.532e-05/0.1409, allocations: 11.88 kB / 484.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.1413, allocations: 155.6 kB / 484.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.1417, allocations: 155.5 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.1421, allocations: 151.4 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.1424, allocations: 207.3 kB / 485 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1425, allocations: 33.66 kB / 485 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.1426, allocations: 95.55 kB / 485.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1429, allocations: 111.6 kB / 485.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1429, allocations: 4 kB / 485.2 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.143, allocations: 59.91 kB / 485.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.1431, allocations: 39.84 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.1431, allocations: 53.58 kB / 485.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1433, allocations: 168 kB / 485.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1434, allocations: 4 kB / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1434, allocations: 0 / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1434, allocations: 0 / 485.5 MB, free: 1.387 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006557/0.144, allocations: 0.5097 MB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.1441, allocations: 12.03 kB / 486 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.659e-05/0.1441, allocations: 34.56 kB / 486.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.1442, allocations: 23.72 kB / 486.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1445, allocations: 262.5 kB / 486.4 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1445, allocations: 11.94 kB / 486.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.1446, allocations: 12 kB / 486.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.1448, allocations: 118.1 kB / 486.5 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1448, allocations: 3.906 kB / 486.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1449, allocations: 0 / 486.5 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1449, allocations: 4 kB / 486.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.145, allocations: 47.95 kB / 486.6 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.1455, allocations: 472.6 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.1459, allocations: 121.2 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.146, allocations: 49.81 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.1461, allocations: 4 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002573/0.1463, allocations: 117 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1463, allocations: 0 / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001283/0.1476, allocations: 496.5 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1477, allocations: 81.11 kB / 487.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.1481, allocations: 371.3 kB / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1481, allocations: 29.7 kB / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.1482, allocations: 144.5 kB / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.286e-05/0.1483, allocations: 75 kB / 488.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-06/0.1483, allocations: 8 kB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1485, allocations: 338.8 kB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1486, allocations: 59.91 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1488, allocations: 87.41 kB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.1489, allocations: 71.92 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1489, allocations: 4 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003665/0.1493, allocations: 229.3 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1493, allocations: 4 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.1493, allocations: 7.984 kB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1493, allocations: 0 / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1495, allocations: 43.92 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.1495, allocations: 0 / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.1496, allocations: 16.06 kB / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1496, allocations: 7.984 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001599/0.1498, allocations: 162.3 kB / 489.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.1498, allocations: 31.58 kB / 489.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.1499, allocations: 41.81 kB / 489.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1499, allocations: 0 / 489.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1499, allocations: 4 kB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.15, allocations: 7.984 kB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008455/0.1508, allocations: 0.7233 MB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1508, allocations: 0 / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.606e-05/0.1509, allocations: 31.92 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.1509, allocations: 4 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1509, allocations: 16.06 kB / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.151, allocations: 4 kB / 490.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.151, allocations: 0 / 490.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.1514, allocations: 420.8 kB / 490.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1514, allocations: 108.7 kB / 490.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1515, allocations: 8 kB / 490.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.1516, allocations: 11.98 kB / 490.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1517, allocations: 23.88 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.1517, allocations: 11.98 kB / 490.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.152, allocations: 273.9 kB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.152, allocations: 4 kB / 491.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.1523, allocations: 51.98 kB / 491.2 MB, free: 11.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001828/0.1542, allocations: 1.357 MB / 492.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1545, allocations: 151.8 kB / 492.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1545, allocations: 0 / 492.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1547, allocations: 80.22 kB / 492.8 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.1552, allocations: 68.11 kB / 492.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.1574, allocations: 1.507 MB / 494.4 MB, free: 8.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1578, allocations: 0.7638 MB / 495.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.1579, allocations: 37.92 kB / 495.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.1581, allocations: 91.34 kB / 495.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1581, allocations: 0 / 495.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.1755, allocations: 5.49 MB / 0.489 GB, free: 1.914 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.1758, allocations: 223.9 kB / 0.4893 GB, free: 1.668 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.11, allocations: 0 / 0.4893 GB, free: 1.668 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat