Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000848/0.0008481, allocations: 98.98 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009026/0.0009027, allocations: 192.7 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.377/1.377, allocations: 227.4 MB / 246 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 45.92 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 15.94 kB / 418.2 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 63.46 MB / 481.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002153/0.1307, allocations: 1.431 MB / 483.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1322, allocations: 0.9518 MB / 484 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.1323, allocations: 0 / 484 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.1326, allocations: 35.89 kB / 484.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.1328, allocations: 71.69 kB / 484.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1331, allocations: 99.75 kB / 484.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1332, allocations: 83.7 kB / 484.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.1333, allocations: 16 kB / 484.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.689e-05/0.1334, allocations: 43.72 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.1335, allocations: 35.78 kB / 484.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1335, allocations: 0 / 484.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.471e-05/0.1336, allocations: 35.98 kB / 484.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.13e-05/0.1336, allocations: 15.92 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.1337, allocations: 41.64 kB / 484.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.1338, allocations: 88.08 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1339, allocations: 4 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1339, allocations: 3.938 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1339, allocations: 0 / 484.6 MB, free: 2.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004784/0.1344, allocations: 398.9 kB / 485 MB, free: 1.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1344, allocations: 8.031 kB / 485 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.1344, allocations: 38.56 kB / 485 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.1345, allocations: 7.906 kB / 485 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1347, allocations: 207.5 kB / 485.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1347, allocations: 4 kB / 485.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1347, allocations: 11.98 kB / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1349, allocations: 53.61 kB / 485.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1349, allocations: 3.984 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1349, allocations: 4 kB / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1349, allocations: 0 / 485.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.135, allocations: 19.98 kB / 485.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1354, allocations: 284.8 kB / 485.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1355, allocations: 62.62 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.1356, allocations: 20.84 kB / 485.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1356, allocations: 0 / 485.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001485/0.1358, allocations: 71.39 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1358, allocations: 4 kB / 485.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004807/0.1363, allocations: 185.1 kB / 485.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.1363, allocations: 59.3 kB / 486 MB, free: 0.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.1365, allocations: 194.9 kB / 486.2 MB, free: 436 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1365, allocations: 25.7 kB / 486.2 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.1366, allocations: 100.1 kB / 486.3 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1366, allocations: 23.7 kB / 486.3 MB, free: 276 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.1366, allocations: 4 kB / 486.3 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1367, allocations: 326.8 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.1368, allocations: 20 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.1369, allocations: 41.58 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.524e-05/0.1369, allocations: 20 kB / 486.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1369, allocations: 0 / 486.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001685/0.1371, allocations: 105.4 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1371, allocations: 4 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1371, allocations: 4.031 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.1372, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.1372, allocations: 23.98 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1373, allocations: 3.953 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.1373, allocations: 0 / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.1373, allocations: 4 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.621e-05/0.1374, allocations: 129.8 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1374, allocations: 11.91 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.1375, allocations: 17.41 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1375, allocations: 0 / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1375, allocations: 4 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1375, allocations: 7.938 kB / 487.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.1379, allocations: 391.2 kB / 487.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1379, allocations: 4 kB / 487.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.138, allocations: 7.938 kB / 487.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.138, allocations: 4 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.138, allocations: 8.016 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.138, allocations: 3.953 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.138, allocations: 4.234 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1382, allocations: 204.3 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.1383, allocations: 84.92 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1383, allocations: 8 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.1384, allocations: 7.984 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1384, allocations: 15.83 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1384, allocations: 4.375 kB / 487.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1386, allocations: 152.7 kB / 487.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1386, allocations: 0 / 487.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1388, allocations: 23.98 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001336/0.1402, allocations: 1.073 MB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1403, allocations: 67.91 kB / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1404, allocations: 0 / 489.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.519e-05/0.1404, allocations: 31.92 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1408, allocations: 23.94 kB / 489.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1418, allocations: 0.7351 MB / 489.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1421, allocations: 0.7083 MB / 490.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.1421, allocations: 21.17 kB / 490.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.1422, allocations: 35.42 kB / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1422, allocations: 0 / 490.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.1541, allocations: 3.002 MB / 493.7 MB, free: 9.016 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.1543, allocations: 219.9 kB / 493.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.033, allocations: 4.062 kB / 493.9 MB, free: 8.77 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat