Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.001049, allocations: 95.53 kB / 16.99 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.001304/0.001305, allocations: 197.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.3 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002619/0.1412, allocations: 1.595 MB / 483.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1432, allocations: 1.069 MB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1433, allocations: 0 / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004168/0.1438, allocations: 151.6 kB / 484.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.1442, allocations: 163.4 kB / 484.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.1446, allocations: 150.9 kB / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.1449, allocations: 207.3 kB / 485 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1451, allocations: 33.61 kB / 485 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1452, allocations: 95.59 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.1454, allocations: 115.5 kB / 485.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1454, allocations: 4 kB / 485.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.1456, allocations: 51.98 kB / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.374e-05/0.1457, allocations: 47.83 kB / 485.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.1457, allocations: 57.56 kB / 485.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.146, allocations: 160 kB / 485.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.146, allocations: 0 / 485.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.146, allocations: 0 / 485.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.146, allocations: 0 / 485.5 MB, free: 1.367 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.0007468/0.1467, allocations: 0.5058 MB / 486 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1468, allocations: 16.03 kB / 486 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.1469, allocations: 34.56 kB / 486.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.1469, allocations: 27.7 kB / 486.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.1473, allocations: 262.5 kB / 486.4 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.1473, allocations: 11.94 kB / 486.4 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1473, allocations: 7.984 kB / 486.4 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1476, allocations: 110 kB / 486.5 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1476, allocations: 7.891 kB / 486.5 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.1476, allocations: 12 kB / 486.5 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1477, allocations: 4 kB / 486.5 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1478, allocations: 39.97 kB / 486.5 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006257/0.1484, allocations: 476.7 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.1488, allocations: 129.1 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.953e-05/0.1489, allocations: 37.83 kB / 487.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.149, allocations: 4 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.1493, allocations: 125 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1493, allocations: 0 / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001294/0.1506, allocations: 488.2 kB / 487.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.1507, allocations: 81.11 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.1511, allocations: 367.3 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1511, allocations: 37.69 kB / 488.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1513, allocations: 144.5 kB / 488.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.1513, allocations: 78.98 kB / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.1513, allocations: 0 / 488.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1515, allocations: 346.8 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1516, allocations: 51.98 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.1518, allocations: 95.33 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1519, allocations: 71.88 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1519, allocations: 0 / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003862/0.1523, allocations: 237.2 kB / 489.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1524, allocations: 8 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.403e-06/0.1524, allocations: 0 / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1524, allocations: 0 / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1525, allocations: 47.98 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1526, allocations: 4 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.237e-05/0.1527, allocations: 11.98 kB / 489.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.1527, allocations: 8 kB / 489.3 MB, free: 13.27 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.0002152/0.1529, allocations: 158.3 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.153, allocations: 31.58 kB / 489.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.834e-05/0.153, allocations: 37.83 kB / 489.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1531, allocations: 3.984 kB / 489.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1531, allocations: 8 kB / 489.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1531, allocations: 0 / 489.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.154, allocations: 0.7195 MB / 490.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1541, allocations: 8.031 kB / 490.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.018e-05/0.1542, allocations: 27.98 kB / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1542, allocations: 0 / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.1542, allocations: 11.98 kB / 490.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.1542, allocations: 4 kB / 490.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1542, allocations: 3.938 kB / 490.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.1547, allocations: 412.8 kB / 490.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1548, allocations: 104.7 kB / 490.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.1549, allocations: 8 kB / 490.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.155, allocations: 20.11 kB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.1551, allocations: 23.94 kB / 490.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.1551, allocations: 15.92 kB / 490.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002816/0.1554, allocations: 277.9 kB / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1554, allocations: 0 / 491.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.1558, allocations: 51.98 kB / 491.2 MB, free: 11.25 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.001899/0.1577, allocations: 1.352 MB / 492.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.1581, allocations: 163.2 kB / 492.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1581, allocations: 0 / 492.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.1582, allocations: 87.95 kB / 492.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.1588, allocations: 60.69 kB / 492.9 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.1613, allocations: 1.507 MB / 494.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1617, allocations: 0.7599 MB / 495.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1618, allocations: 45.91 kB / 495.2 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.162, allocations: 83.41 kB / 495.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.162, allocations: 0 / 495.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.1797, allocations: 5.485 MB / 0.489 GB, free: 1.895 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.18, allocations: 234.9 kB / 0.4893 GB, free: 1.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.108, allocations: 0 / 0.4893 GB, free: 1.641 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat