Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009909/0.0009983, allocations: 98.8 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001136, allocations: 193.9 kB / 17.9 MB, free: 5.91 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.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 45.92 MB / 344.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003408, allocations: 16 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1402, allocations: 63.47 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002157/0.1424, allocations: 1.616 MB / 483.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1438, allocations: 0.9869 MB / 484.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.1439, allocations: 4 kB / 484.3 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1442, allocations: 35.83 kB / 484.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002274/0.1445, allocations: 71.69 kB / 484.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1447, allocations: 111.7 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.1449, allocations: 135.5 kB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1451, allocations: 21.55 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1452, allocations: 51.7 kB / 484.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.1453, allocations: 43.73 kB / 484.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.1453, allocations: 4 kB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.1454, allocations: 35.98 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.1455, allocations: 27.91 kB / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.1455, allocations: 45.58 kB / 484.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1457, allocations: 112 kB / 484.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1457, allocations: 0 / 484.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1457, allocations: 4 kB / 484.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1458, allocations: 0 / 484.9 MB, free: 1.961 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000687/0.1464, allocations: 460.4 kB / 485.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1465, allocations: 12.03 kB / 485.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.1466, allocations: 38.5 kB / 485.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.1466, allocations: 19.81 kB / 485.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.1469, allocations: 228.4 kB / 485.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.147, allocations: 4 kB / 485.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.147, allocations: 8 kB / 485.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1472, allocations: 111.2 kB / 485.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1473, allocations: 0 / 485.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1473, allocations: 8 kB / 485.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1473, allocations: 0 / 485.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.1475, allocations: 51.91 kB / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.1481, allocations: 0.5165 MB / 486.4 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.1485, allocations: 86.66 kB / 486.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.1486, allocations: 48.83 kB / 486.5 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1486, allocations: 0 / 486.5 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.1488, allocations: 83.31 kB / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.1488, allocations: 0 / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004017/0.1493, allocations: 157.6 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.1493, allocations: 51.5 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1495, allocations: 206.1 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1495, allocations: 25.7 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.76e-05/0.1496, allocations: 127.9 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.1497, allocations: 23.7 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.1497, allocations: 4 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1498, allocations: 326.8 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.1499, allocations: 27.98 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.363e-05/0.15, allocations: 68.27 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.241e-05/0.1501, allocations: 39.92 kB / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1501, allocations: 0 / 487.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002655/0.1503, allocations: 137.4 kB / 487.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1504, allocations: 7.984 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1504, allocations: 8.125 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1504, allocations: 3.953 kB / 487.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.1505, allocations: 23.94 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.1505, allocations: 11.97 kB / 487.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.1506, allocations: 19.78 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1506, allocations: 4 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.937e-05/0.1507, allocations: 125.8 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1508, allocations: 15.8 kB / 488 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.1508, allocations: 17.41 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1508, allocations: 7.953 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1508, allocations: 0 / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1508, allocations: 0 / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.151, allocations: 209.6 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.151, allocations: 0 / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/0.1511, allocations: 19.94 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1511, allocations: 0 / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1511, allocations: 0 / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1511, allocations: 7.984 kB / 488.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1511, allocations: 8.047 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.1515, allocations: 184.8 kB / 488.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1515, allocations: 96.88 kB / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1516, allocations: 4 kB / 488.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.917e-05/0.1516, allocations: 12.06 kB / 488.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.1517, allocations: 7.984 kB / 488.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1517, allocations: 11.95 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1518, allocations: 144.4 kB / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1518, allocations: 0 / 488.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1521, allocations: 24 kB / 488.7 MB, free: 13.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00143/0.1535, allocations: 1.022 MB / 489.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.1538, allocations: 91.89 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1538, allocations: 0 / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.302e-05/0.1539, allocations: 35.98 kB / 489.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1542, allocations: 34.91 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.1555, allocations: 0.8619 MB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1558, allocations: 0.7165 MB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.173e-05/0.1559, allocations: 21.41 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.156, allocations: 43.41 kB / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.156, allocations: 0 / 491.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.17, allocations: 3.339 MB / 494.9 MB, free: 7.816 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/0.1703, allocations: 224 kB / 495.1 MB, free: 7.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.902/2.073, allocations: 0 / 495.1 MB, free: 7.57 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat does not exist to compare? outputFormat=mat