Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001127/0.001127, allocations: 100.7 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009626/0.0009629, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.3 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.2238/0.2238, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002747/0.0002747, allocations: 15.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 63.47 MB / 481.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002449/0.1336, allocations: 1.911 MB / 483.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.1357, allocations: 1.28 MB / 484.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1359, allocations: 7.938 kB / 484.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.1363, allocations: 119.6 kB / 485 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.1367, allocations: 211.2 kB / 485.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.1374, allocations: 278.9 kB / 485.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004531/0.1378, allocations: 398.7 kB / 485.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.138, allocations: 53.25 kB / 485.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003021/0.1383, allocations: 247 kB / 486.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1385, allocations: 147.2 kB / 486.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.1385, allocations: 8 kB / 486.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1387, allocations: 55.98 kB / 486.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1388, allocations: 139.4 kB / 486.5 MB, free: 416 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1389, allocations: 101.4 kB / 486.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.1393, allocations: 347.5 kB / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1393, allocations: 0 / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1393, allocations: 4 kB / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.842e-06/0.1394, allocations: 0 / 486.9 MB, free: 15.96 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001022/0.1404, allocations: 0.805 MB / 487.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1404, allocations: 8.031 kB / 487.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/0.1405, allocations: 46.55 kB / 487.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.129e-05/0.1406, allocations: 71.06 kB / 487.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005064/0.1411, allocations: 415.5 kB / 488.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1411, allocations: 12 kB / 488.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.1412, allocations: 15.98 kB / 488.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.1416, allocations: 193.5 kB / 488.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.1416, allocations: 3.906 kB / 488.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.1416, allocations: 11.98 kB / 488.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.1416, allocations: 8 kB / 488.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002218/0.1419, allocations: 91.86 kB / 488.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.1428, allocations: 0.825 MB / 489.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.1434, allocations: 246.5 kB / 489.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.1436, allocations: 87.52 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1436, allocations: 4 kB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.144, allocations: 204.6 kB / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.144, allocations: 0 / 489.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002431/0.1464, allocations: 1.18 MB / 491.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.1465, allocations: 140.5 kB / 491.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009899/0.1475, allocations: 0.9536 MB / 492.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1476, allocations: 37.7 kB / 492.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.1478, allocations: 269 kB / 492.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1479, allocations: 142 kB / 492.6 MB, free: 9.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.1479, allocations: 8 kB / 492.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1481, allocations: 326 kB / 493 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1483, allocations: 108.8 kB / 493.1 MB, free: 9.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.1485, allocations: 183.2 kB / 493.3 MB, free: 9.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.1488, allocations: 135.9 kB / 493.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1488, allocations: 0 / 493.4 MB, free: 9.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006907/0.1495, allocations: 440.6 kB / 493.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1495, allocations: 4 kB / 493.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1496, allocations: 4.125 kB / 493.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1496, allocations: 8 kB / 493.8 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.1499, allocations: 87.89 kB / 493.9 MB, free: 8.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.1499, allocations: 7.953 kB / 493.9 MB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.15, allocations: 23.92 kB / 494 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.1501, allocations: 19.98 kB / 494 MB, free: 8.547 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002701/0.1503, allocations: 255.9 kB / 494.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/0.1504, allocations: 75.06 kB / 494.3 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.1506, allocations: 93.73 kB / 494.4 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1506, allocations: 4 kB / 494.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.1506, allocations: 4 kB / 494.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.1506, allocations: 7.938 kB / 494.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.1523, allocations: 1.33 MB / 495.7 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1523, allocations: 8.031 kB / 495.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1524, allocations: 63.91 kB / 495.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1525, allocations: 4 kB / 495.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.1525, allocations: 12 kB / 495.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1525, allocations: 11.92 kB / 495.8 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1525, allocations: 4 kB / 495.8 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/0.1534, allocations: 0.7889 MB / 496.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.1536, allocations: 192.1 kB / 496.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.1536, allocations: 15.98 kB / 496.8 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.1539, allocations: 19.98 kB / 496.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.154, allocations: 47.78 kB / 496.9 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.154, allocations: 24 kB / 496.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007379/0.1548, allocations: 0.7021 MB / 497.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1548, allocations: 0 / 497.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005309/0.1553, allocations: 91.98 kB / 497.7 MB, free: 4.652 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002137/0.1575, allocations: 1.753 MB / 499.5 MB, free: 3.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005734/0.1581, allocations: 304.2 kB / 499.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1581, allocations: 4 kB / 499.8 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.1584, allocations: 164.1 kB / 499.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008964/0.1593, allocations: 134 kB / 0.4883 GB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.164, allocations: 3.618 MB / 0.4919 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.1645, allocations: 0.9136 MB / 0.4928 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.1647, allocations: 79.28 kB / 0.4928 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.165, allocations: 211.4 kB / 0.493 GB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.165, allocations: 0 / 0.493 GB, free: 13.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1907, allocations: 10.59 MB / 0.5034 GB, free: 3.066 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.1909, allocations: 224 kB / 0.5036 GB, free: 2.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/2.266, allocations: 4 kB / 0.5036 GB, free: 2.816 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat does not exist to compare? outputFormat=mat