Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008784/0.0008784, allocations: 94.22 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008434/0.0008434, allocations: 193.6 kB / 17.91 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, 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.2177/0.2177, allocations: 45.91 MB / 344.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002541/0.0002542, allocations: 11.94 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 63.47 MB / 481.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002312/0.1462, allocations: 1.439 MB / 483.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1477, allocations: 0.944 MB / 484 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.1478, allocations: 4 kB / 484 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1481, allocations: 47.81 kB / 484.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.1484, allocations: 83.72 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1487, allocations: 87.83 kB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1488, allocations: 87.7 kB / 484.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.1489, allocations: 15.92 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1491, allocations: 39.78 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1492, allocations: 35.78 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1492, allocations: 4 kB / 484.4 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1493, allocations: 39.98 kB / 484.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.1494, allocations: 23.91 kB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.1494, allocations: 41.64 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1496, allocations: 92.08 kB / 484.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1496, allocations: 0 / 484.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1497, allocations: 3.938 kB / 484.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1497, allocations: 0 / 484.6 MB, free: 2.211 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.000581/0.1503, allocations: 406.9 kB / 485 MB, free: 1.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1503, allocations: 12.03 kB / 485 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.1504, allocations: 34.55 kB / 485.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1504, allocations: 19.81 kB / 485.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.1507, allocations: 220.3 kB / 485.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1507, allocations: 4 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.1507, allocations: 0 / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1509, allocations: 57.67 kB / 485.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1509, allocations: 3.906 kB / 485.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1509, allocations: 3.984 kB / 485.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1509, allocations: 4 kB / 485.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.151, allocations: 23.98 kB / 485.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.1514, allocations: 288.8 kB / 485.7 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1516, allocations: 58.67 kB / 485.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.909e-05/0.1516, allocations: 20.84 kB / 485.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1516, allocations: 8 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.1518, allocations: 67.33 kB / 485.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1518, allocations: 0 / 485.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005566/0.1524, allocations: 173.2 kB / 486 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1525, allocations: 67.23 kB / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.1527, allocations: 234.2 kB / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1527, allocations: 29.7 kB / 486.3 MB, free: 304 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.1528, allocations: 112.1 kB / 486.4 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1528, allocations: 23.64 kB / 486.5 MB, free: 164 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1528, allocations: 4 kB / 486.5 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.153, allocations: 326.8 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.736e-05/0.153, allocations: 12 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.1531, allocations: 45.62 kB / 486.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.483e-05/0.1532, allocations: 31.98 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1532, allocations: 0 / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.1534, allocations: 97.44 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1534, allocations: 8 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1534, allocations: 0 / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1534, allocations: 0 / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.485e-05/0.1535, allocations: 15.98 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1535, allocations: 7.953 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.1536, allocations: 4 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-06/0.1536, allocations: 4 kB / 487 MB, free: 15.59 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 0.0001175/0.1537, allocations: 137.8 kB / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1538, allocations: 15.81 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.1538, allocations: 17.39 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1538, allocations: 4 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1538, allocations: 0 / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1539, allocations: 3.953 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.1543, allocations: 399.3 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1543, allocations: 384 / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.1544, allocations: 8 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1544, allocations: 4 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1544, allocations: 8 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1544, allocations: 3.953 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1544, allocations: 0 / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.1546, allocations: 212.2 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.1547, allocations: 89.02 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1547, allocations: 0 / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.1548, allocations: 7.984 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1549, allocations: 15.89 kB / 487.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.1549, allocations: 0 / 487.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.1551, allocations: 172.4 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1551, allocations: 4 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1553, allocations: 24 kB / 488.1 MB, free: 14.39 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.001451/0.1568, allocations: 1.097 MB / 489.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.157, allocations: 51.97 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.157, allocations: 4 kB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-05/0.1571, allocations: 27.94 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.1574, allocations: 28.11 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1587, allocations: 0.8123 MB / 490.1 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.159, allocations: 0.716 MB / 490.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.1591, allocations: 12.88 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.977e-05/0.1591, allocations: 39.42 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1591, allocations: 3.938 kB / 490.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.1742, allocations: 3.167 MB / 494.1 MB, free: 8.613 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.1745, allocations: 224 kB / 494.3 MB, free: 8.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.129, allocations: 0 / 494.3 MB, free: 8.367 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat