Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 101.9 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246 MB, free: 10.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2011/0.2011, allocations: 45.92 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.0002719, allocations: 12 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.001973/0.1364, allocations: 1.392 MB / 483 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1378, allocations: 0.9402 MB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.1379, allocations: 0 / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.1382, allocations: 55.8 kB / 484 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1385, allocations: 87.72 kB / 484.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1388, allocations: 95.27 kB / 484.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.139, allocations: 91.69 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.585e-05/0.139, allocations: 4.234 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.1391, allocations: 43.78 kB / 484.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1393, allocations: 43.77 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1393, allocations: 4 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-05/0.1394, allocations: 27.98 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1394, allocations: 15.92 kB / 484.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.1395, allocations: 37.64 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1396, allocations: 84.09 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1396, allocations: 4 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1396, allocations: 0 / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1396, allocations: 0 / 484.6 MB, free: 2.297 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004501/0.1401, allocations: 394.9 kB / 484.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.1401, allocations: 8.031 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.1402, allocations: 30.56 kB / 485 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1402, allocations: 11.84 kB / 485 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1404, allocations: 203.5 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1404, allocations: 12 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1405, allocations: 4 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.1406, allocations: 49.61 kB / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.1406, allocations: 0 / 485.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1406, allocations: 4 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1406, allocations: 0 / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.19e-05/0.1407, allocations: 15.98 kB / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.1409, allocations: 185.6 kB / 485.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.141, allocations: 54.61 kB / 485.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.1411, allocations: 16.86 kB / 485.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1411, allocations: 7.922 kB / 485.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.1413, allocations: 67.39 kB / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.1413, allocations: 0 / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000253/0.1415, allocations: 97.48 kB / 485.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1416, allocations: 51.41 kB / 485.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1418, allocations: 194.8 kB / 485.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1418, allocations: 33.64 kB / 486 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.1419, allocations: 100.1 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.1419, allocations: 11.91 kB / 486.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.1419, allocations: 0 / 486.1 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.142, allocations: 326.8 kB / 486.4 MB, free: 240 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.1421, allocations: 15.98 kB / 486.4 MB, free: 224 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.1421, allocations: 25.72 kB / 486.4 MB, free: 192 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/0.1422, allocations: 19.98 kB / 486.5 MB, free: 172 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1422, allocations: 0 / 486.5 MB, free: 172 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.1423, allocations: 81.44 kB / 486.5 MB, free: 84 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1424, allocations: 8 kB / 486.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1424, allocations: 0 / 486.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1424, allocations: 0 / 486.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.1425, allocations: 12.03 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1425, allocations: 7.984 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.918e-05/0.1426, allocations: 3.938 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.1426, allocations: 11.94 kB / 486.6 MB, free: 40 kB / 350.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 (7): * Single equations (assignments): 7 * 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.0001196/0.1427, allocations: 121.8 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.1427, allocations: 15.88 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.1428, allocations: 17 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1428, allocations: 0 / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1428, allocations: 0 / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1428, allocations: 4 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.143, allocations: 193.5 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.143, allocations: 4.25 kB / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.3e-05/0.143, allocations: 8 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.143, allocations: 0 / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.143, allocations: 0 / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.143, allocations: 0 / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.143, allocations: 0 / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1432, allocations: 113 kB / 487 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1433, allocations: 88.95 kB / 487.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1433, allocations: 4 kB / 487.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.1433, allocations: 0 / 487.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.1434, allocations: 8 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1434, allocations: 3.984 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1435, allocations: 144.8 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1435, allocations: 0 / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.1437, allocations: 23.98 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001235/0.145, allocations: 0.9649 MB / 488.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.1451, allocations: 43.92 kB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1451, allocations: 0 / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/0.1452, allocations: 20.05 kB / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.1455, allocations: 23.98 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1465, allocations: 0.6674 MB / 489 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1468, allocations: 0.6974 MB / 489.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.347e-05/0.1469, allocations: 16.41 kB / 489.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.147, allocations: 35.42 kB / 489.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.147, allocations: 0 / 489.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/0.16, allocations: 2.731 MB / 492.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.1603, allocations: 218.8 kB / 492.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/1.984, allocations: 4 kB / 492.7 MB, free: 9.938 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat