Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001066, allocations: 98.31 kB / 17 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001512/0.001512, allocations: 194 kB / 17.9 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2227/0.2227, allocations: 45.92 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002556/0.0002557, allocations: 11.94 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 63.47 MB / 481.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002307/0.1313, allocations: 1.431 MB / 483.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.133, allocations: 0.9479 MB / 484 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.133, allocations: 4 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.1334, allocations: 35.89 kB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1336, allocations: 75.69 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1339, allocations: 91.81 kB / 484.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.134, allocations: 95.69 kB / 484.3 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.1341, allocations: 4 kB / 484.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.1342, allocations: 35.8 kB / 484.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.1343, allocations: 39.77 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.1343, allocations: 4 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.1344, allocations: 32 kB / 484.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.367e-05/0.1345, allocations: 15.92 kB / 484.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.1345, allocations: 41.64 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1347, allocations: 96.08 kB / 484.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1347, allocations: 3.938 kB / 484.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1347, allocations: 0 / 484.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1348, allocations: 0 / 484.6 MB, free: 2.277 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.0006555/0.1354, allocations: 398.9 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.131e-05/0.1355, allocations: 12.03 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.1355, allocations: 30.56 kB / 485 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.1356, allocations: 7.906 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1359, allocations: 215.5 kB / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1359, allocations: 4 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1359, allocations: 0 / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.1361, allocations: 57.61 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1361, allocations: 0 / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.1361, allocations: 0 / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1361, allocations: 4 kB / 485.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.933e-05/0.1362, allocations: 23.92 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.1366, allocations: 292.8 kB / 485.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1368, allocations: 58.61 kB / 485.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.1369, allocations: 20.86 kB / 485.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1369, allocations: 3.984 kB / 485.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.1371, allocations: 67.39 kB / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.877e-06/0.1371, allocations: 0 / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005372/0.1376, allocations: 181.1 kB / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1377, allocations: 71.33 kB / 486 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1379, allocations: 186.9 kB / 486.2 MB, free: 484 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1379, allocations: 25.7 kB / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.138, allocations: 100.1 kB / 486.3 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.138, allocations: 23.7 kB / 486.3 MB, free: 324 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.138, allocations: 4 kB / 486.3 MB, free: 320 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1381, allocations: 322.8 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.1382, allocations: 23.98 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/0.1383, allocations: 37.64 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.1383, allocations: 24 kB / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1383, allocations: 0 / 486.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001648/0.1385, allocations: 105.5 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1385, allocations: 12.02 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.1386, allocations: 0 / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1386, allocations: 4 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.1387, allocations: 12 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.1387, allocations: 3.953 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1387, allocations: 4 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1387, allocations: 7.984 kB / 486.9 MB, free: 15.75 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.626e-05/0.1388, allocations: 129.8 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.1389, allocations: 7.906 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.1389, allocations: 25.39 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1389, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1389, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1389, allocations: 3.953 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.1394, allocations: 395.2 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1394, allocations: 0 / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1394, allocations: 15.92 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1394, allocations: 224 / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1394, allocations: 12 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1394, allocations: 8.266 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1395, allocations: 0 / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.1397, allocations: 196.3 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1397, allocations: 96.91 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1398, allocations: 4 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.1399, allocations: 11.94 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1399, allocations: 15.88 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1399, allocations: 8 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.14, allocations: 148.7 kB / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.14, allocations: 0 / 487.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1403, allocations: 20 kB / 488 MB, free: 14.57 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.001429/0.1417, allocations: 1.073 MB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1419, allocations: 59.91 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1419, allocations: 0 / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/0.142, allocations: 35.92 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.1424, allocations: 31.17 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.1435, allocations: 0.7312 MB / 489.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1439, allocations: 0.7121 MB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.984e-05/0.1439, allocations: 8.891 kB / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.144, allocations: 39.41 kB / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.144, allocations: 0 / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.1575, allocations: 3.009 MB / 493.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.1577, allocations: 223.5 kB / 493.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.056, allocations: 0 / 493.9 MB, free: 8.809 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat does not exist to compare? outputFormat=mat