Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007917/0.0007916, allocations: 98.83 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.0008575/0.0008576, 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.402/1.402, allocations: 227.4 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.2047/0.2047, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002512/0.0002512, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1261, allocations: 63.47 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002227/0.1284, allocations: 1.427 MB / 483.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.13, allocations: 0.9518 MB / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.91e-05/0.1301, allocations: 0 / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1304, allocations: 47.86 kB / 484.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.1307, allocations: 83.67 kB / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.131, allocations: 87.83 kB / 484.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1312, allocations: 91.69 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1313, allocations: 8 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.1314, allocations: 43.77 kB / 484.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.1315, allocations: 31.86 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1315, allocations: 3.938 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.1316, allocations: 35.98 kB / 484.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.1316, allocations: 23.91 kB / 484.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.1317, allocations: 41.64 kB / 484.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1318, allocations: 96.08 kB / 484.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1319, allocations: 7.938 kB / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1319, allocations: 0 / 484.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1319, allocations: 0 / 484.6 MB, free: 2.27 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.0005527/0.1324, allocations: 406.9 kB / 485 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.1325, allocations: 8.031 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.1325, allocations: 38.56 kB / 485.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1326, allocations: 11.81 kB / 485.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1328, allocations: 220.3 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.1329, allocations: 4 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.1329, allocations: 7.984 kB / 485.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.133, allocations: 53.67 kB / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1331, allocations: 11.89 kB / 485.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1331, allocations: 0 / 485.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1331, allocations: 0 / 485.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.309e-05/0.1332, allocations: 19.98 kB / 485.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.1336, allocations: 300.8 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1337, allocations: 54.67 kB / 485.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.1338, allocations: 16.86 kB / 485.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1338, allocations: 4 kB / 485.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.134, allocations: 71.38 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.134, allocations: 3.938 kB / 485.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000526/0.1345, allocations: 185.1 kB / 486 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1346, allocations: 55.36 kB / 486.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.1349, allocations: 234.1 kB / 486.3 MB, free: 400 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.135, allocations: 33.64 kB / 486.3 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.271e-05/0.135, allocations: 108.1 kB / 486.4 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1351, allocations: 23.66 kB / 486.5 MB, free: 224 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.1351, allocations: 4 kB / 486.5 MB, free: 220 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1353, allocations: 326.8 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.1354, allocations: 23.98 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.1354, allocations: 33.7 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/0.1355, allocations: 23.98 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1355, allocations: 0 / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000177/0.1357, allocations: 105.4 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.363e-05/0.1358, allocations: 8.031 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1358, allocations: 160 / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1358, allocations: 0 / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.941e-05/0.1359, allocations: 20 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.1359, allocations: 11.92 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.136, allocations: 4 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.136, allocations: 0 / 487 MB, free: 15.65 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.0001167/0.1361, allocations: 133.8 kB / 487.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1362, allocations: 19.81 kB / 487.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.1362, allocations: 17.41 kB / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1362, allocations: 0 / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1362, allocations: 0 / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1362, allocations: 7.938 kB / 487.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.1367, allocations: 395.3 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1367, allocations: 4 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.1367, allocations: 11.98 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.1368, allocations: 4.031 kB / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1368, allocations: 0 / 487.6 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1368, allocations: 8.328 kB / 487.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1368, allocations: 0 / 487.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.137, allocations: 204.1 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.1371, allocations: 93 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1371, allocations: 192 / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.1372, allocations: 15.94 kB / 487.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.1372, allocations: 15.88 kB / 487.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1373, allocations: 4 kB / 487.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1374, allocations: 176.4 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1374, allocations: 0 / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1377, allocations: 24 kB / 488.1 MB, free: 14.43 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.001469/0.1392, allocations: 1.092 MB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1394, allocations: 55.98 kB / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1394, allocations: 0 / 489.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.1394, allocations: 31.92 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1398, allocations: 31.44 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.1411, allocations: 0.8084 MB / 490.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1414, allocations: 0.716 MB / 490.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1415, allocations: 16.88 kB / 490.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.1415, allocations: 39.42 kB / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 1.924e-06/0.1415, allocations: 0 / 490.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.1567, allocations: 3.158 MB / 494.1 MB, free: 8.676 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.157, allocations: 220 kB / 494.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.097, allocations: 3.938 kB / 494.3 MB, free: 8.43 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat