Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008794/0.0008794, allocations: 94.2 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.000972/0.0009721, allocations: 195.4 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.486/1.486, 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.2032/0.2032, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 12 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1282, allocations: 63.46 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002374/0.1306, allocations: 1.595 MB / 483.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1325, allocations: 1.069 MB / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1327, allocations: 4 kB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.1332, allocations: 219.5 kB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.1336, allocations: 179.5 kB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.1342, allocations: 155.6 kB / 484.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000362/0.1346, allocations: 215.3 kB / 485.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.1349, allocations: 37.66 kB / 485.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.1351, allocations: 103.5 kB / 485.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1353, allocations: 131.5 kB / 485.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1353, allocations: 4 kB / 485.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1355, allocations: 48 kB / 485.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.645e-05/0.1356, allocations: 59.73 kB / 485.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.1357, allocations: 65.58 kB / 485.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.136, allocations: 175.9 kB / 485.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/0.136, allocations: 0 / 485.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.136, allocations: 0 / 485.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.136, allocations: 0 / 485.7 MB, free: 1.199 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.0009835/0.137, allocations: 0.5253 MB / 486.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/0.1371, allocations: 8.031 kB / 486.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.419e-05/0.1371, allocations: 42.55 kB / 486.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.1372, allocations: 31.56 kB / 486.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.1376, allocations: 286.9 kB / 486.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1376, allocations: 4 kB / 486.6 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.1377, allocations: 8 kB / 486.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1379, allocations: 117.9 kB / 486.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.138, allocations: 0 / 486.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.138, allocations: 0 / 486.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.138, allocations: 4 kB / 486.7 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.1381, allocations: 51.95 kB / 486.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.1389, allocations: 476.7 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.1393, allocations: 125.2 kB / 487.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.648e-05/0.1394, allocations: 37.83 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1394, allocations: 4 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/0.1397, allocations: 121 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1397, allocations: 4 kB / 487.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001331/0.141, allocations: 0.4967 MB / 488 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.1411, allocations: 81.11 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.1416, allocations: 444.5 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.1417, allocations: 33.7 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1418, allocations: 156.5 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.142, allocations: 71 kB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.142, allocations: 4 kB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.1422, allocations: 346.8 kB / 489.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1424, allocations: 51.98 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.1426, allocations: 91.39 kB / 489.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1427, allocations: 67.94 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1427, allocations: 0 / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004215/0.1431, allocations: 237.2 kB / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1432, allocations: 8 kB / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1432, allocations: 0 / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1432, allocations: 0 / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.1433, allocations: 47.92 kB / 489.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1434, allocations: 0 / 489.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.1435, allocations: 19.98 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1435, allocations: 8.234 kB / 489.6 MB, free: 12.97 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.000196/0.1437, allocations: 174.2 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.1437, allocations: 35.58 kB / 489.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.1439, allocations: 42.8 kB / 489.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.1439, allocations: 8 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1439, allocations: 0 / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1439, allocations: 3.984 kB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.145, allocations: 0.7427 MB / 490.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.145, allocations: 4 kB / 490.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.1451, allocations: 24 kB / 490.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1451, allocations: 4.125 kB / 490.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1451, allocations: 7.984 kB / 490.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1451, allocations: 4 kB / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1451, allocations: 3.938 kB / 490.7 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005708/0.1457, allocations: 432.6 kB / 491.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.1459, allocations: 104.7 kB / 491.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.1459, allocations: 8 kB / 491.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.1461, allocations: 8 kB / 491.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.1462, allocations: 31.86 kB / 491.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.1462, allocations: 8 kB / 491.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003984/0.1466, allocations: 335 kB / 491.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1466, allocations: 0 / 491.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000415/0.147, allocations: 48 kB / 491.6 MB, free: 10.85 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.001936/0.149, allocations: 1.359 MB / 493 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1493, allocations: 159.4 kB / 493.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1493, allocations: 0 / 493.1 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1495, allocations: 79.97 kB / 493.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.1501, allocations: 61.34 kB / 493.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.1528, allocations: 1.695 MB / 495 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.1533, allocations: 0.7716 MB / 495.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.1535, allocations: 45.91 kB / 495.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.1538, allocations: 99.39 kB / 495.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1538, allocations: 0 / 495.9 MB, free: 6.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.173, allocations: 5.808 MB / 0.4899 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.1732, allocations: 230.9 kB / 0.4902 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.122, allocations: 0 / 0.4902 GB, free: 0.7188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat