Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009402/0.00094, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 193.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 45.93 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.000302, allocations: 15.97 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 63.46 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002594/0.1373, allocations: 1.599 MB / 483.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1393, allocations: 1.065 MB / 484.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1395, allocations: 11.94 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.1401, allocations: 247.4 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00056/0.1407, allocations: 203.4 kB / 484.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.1414, allocations: 163 kB / 484.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006516/0.1421, allocations: 223.3 kB / 485.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.1423, allocations: 33.66 kB / 485.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.1428, allocations: 115.5 kB / 485.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.1432, allocations: 151.5 kB / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.925e-05/0.1433, allocations: 8 kB / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.1435, allocations: 55.92 kB / 485.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.1437, allocations: 63.8 kB / 485.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.1438, allocations: 61.52 kB / 485.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.1442, allocations: 179.9 kB / 485.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.1442, allocations: 0 / 485.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1442, allocations: 0 / 485.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1442, allocations: 0 / 485.8 MB, free: 1.062 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.001308/0.1456, allocations: 0.5524 MB / 486.3 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.055e-05/0.1456, allocations: 8.031 kB / 486.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.919e-05/0.1457, allocations: 38.56 kB / 486.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.1458, allocations: 35.53 kB / 486.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.1463, allocations: 277.4 kB / 486.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1463, allocations: 0 / 486.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.1464, allocations: 12 kB / 486.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.1467, allocations: 115.4 kB / 486.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1467, allocations: 7.75 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.1468, allocations: 3.984 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.1468, allocations: 4 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.1469, allocations: 43.97 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007966/0.1477, allocations: 484.8 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.1482, allocations: 125.2 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.1483, allocations: 53.73 kB / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.1483, allocations: 0 / 487.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.1486, allocations: 117.1 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.1486, allocations: 0 / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001384/0.15, allocations: 0.5076 MB / 488.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.1501, allocations: 81.11 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.1507, allocations: 497.6 kB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1507, allocations: 33.7 kB / 488.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.1509, allocations: 172.5 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.291e-05/0.151, allocations: 67 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-05/0.151, allocations: 11.94 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1512, allocations: 346.8 kB / 489.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1513, allocations: 55.97 kB / 489.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1515, allocations: 91.41 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1516, allocations: 67.92 kB / 489.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1516, allocations: 4 kB / 489.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004524/0.1521, allocations: 237.3 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1521, allocations: 4 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1521, allocations: 0 / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1521, allocations: 12.05 kB / 489.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1523, allocations: 43.92 kB / 489.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1523, allocations: 0 / 489.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.402e-05/0.1524, allocations: 8 kB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.1524, allocations: 11.98 kB / 489.9 MB, free: 12.72 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.0001972/0.1527, allocations: 178.3 kB / 490 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.316e-05/0.1527, allocations: 35.58 kB / 490.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.416e-05/0.1528, allocations: 42.89 kB / 490.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1528, allocations: 4 kB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.1528, allocations: 4 kB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1529, allocations: 3.984 kB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1539, allocations: 0.7351 MB / 490.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1539, allocations: 0 / 490.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.418e-05/0.154, allocations: 39.86 kB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.154, allocations: 4 kB / 490.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.154, allocations: 8 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.154, allocations: 0 / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.1541, allocations: 4 kB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.1546, allocations: 428.7 kB / 491.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.262e-05/0.1547, allocations: 112.7 kB / 491.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.1547, allocations: 8 kB / 491.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.1549, allocations: 8.172 kB / 491.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.155, allocations: 27.88 kB / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.155, allocations: 15.94 kB / 491.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000414/0.1554, allocations: 371.1 kB / 491.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1554, allocations: 0 / 491.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.1558, allocations: 51.98 kB / 491.9 MB, free: 10.54 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.00202/0.1579, allocations: 1.364 MB / 493.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003823/0.1583, allocations: 159.4 kB / 493.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1583, allocations: 0 / 493.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1584, allocations: 84.02 kB / 493.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/0.159, allocations: 69.59 kB / 493.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.1624, allocations: 1.804 MB / 495.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.1631, allocations: 0.7833 MB / 496.2 MB, free: 6.332 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.1633, allocations: 49.84 kB / 496.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.1636, allocations: 107.4 kB / 496.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1636, allocations: 0 / 496.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.1865, allocations: 6.023 MB / 0.4906 GB, free: 304 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.1868, allocations: 223.9 kB / 0.4908 GB, free: 52 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.969/2.155, allocations: 4.062 kB / 0.4908 GB, free: 48 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat