Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009756/0.0009805, allocations: 98.08 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 192.7 kB / 17.91 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002543, allocations: 11.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1345, allocations: 63.46 MB / 481.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002238/0.1368, allocations: 1.435 MB / 483.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1385, allocations: 0.944 MB / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.1386, allocations: 0 / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1389, allocations: 43.83 kB / 484.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1392, allocations: 75.73 kB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1394, allocations: 87.58 kB / 484.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1396, allocations: 95.69 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.1397, allocations: 11.98 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.666e-05/0.1398, allocations: 35.8 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.1398, allocations: 31.8 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1399, allocations: 0 / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.687e-05/0.14, allocations: 43.97 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.14, allocations: 15.92 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.1401, allocations: 37.64 kB / 484.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1402, allocations: 96.08 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1402, allocations: 0 / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1402, allocations: 7.938 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1403, allocations: 0 / 484.6 MB, free: 2.293 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.0005189/0.1408, allocations: 390.9 kB / 485 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1408, allocations: 8.031 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1409, allocations: 38.56 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.1409, allocations: 11.89 kB / 485 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.1412, allocations: 207.5 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1412, allocations: 11.98 kB / 485.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1413, allocations: 4 kB / 485.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1414, allocations: 57.67 kB / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1415, allocations: 0 / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1415, allocations: 0 / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1415, allocations: 0 / 485.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.362e-05/0.1416, allocations: 19.98 kB / 485.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.142, allocations: 288.8 kB / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1421, allocations: 62.61 kB / 485.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.1422, allocations: 16.86 kB / 485.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.1422, allocations: 4 kB / 485.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.1424, allocations: 63.39 kB / 485.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1424, allocations: 7.938 kB / 485.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005302/0.1429, allocations: 185.1 kB / 485.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.143, allocations: 59.3 kB / 486 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.1432, allocations: 194.9 kB / 486.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1432, allocations: 25.7 kB / 486.2 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.1433, allocations: 104.1 kB / 486.3 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.1433, allocations: 23.7 kB / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.1433, allocations: 0 / 486.3 MB, free: 340 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1435, allocations: 326.8 kB / 486.7 MB, free: 4 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.531e-05/0.1436, allocations: 23.98 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.1436, allocations: 33.66 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.1437, allocations: 27.97 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1437, allocations: 0 / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.1439, allocations: 105.4 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1439, allocations: 6.344 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1439, allocations: 4.031 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1439, allocations: 4 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.144, allocations: 15.98 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1441, allocations: 3.953 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.1441, allocations: 4 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1441, allocations: 0 / 486.9 MB, free: 15.77 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.0001229/0.1442, allocations: 137.8 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.1443, allocations: 11.84 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.1443, allocations: 17.41 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1443, allocations: 4 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.1443, allocations: 3.984 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1443, allocations: 3.953 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.1448, allocations: 395.2 kB / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1448, allocations: 0 / 487.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.1449, allocations: 8 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1449, allocations: 384 / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1449, allocations: 8.016 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.453e-06/0.1449, allocations: 11.95 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1449, allocations: 0 / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1451, allocations: 196.3 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.1452, allocations: 92.92 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1452, allocations: 4.172 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.1453, allocations: 11.94 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.1454, allocations: 15.83 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1454, allocations: 7.984 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1455, allocations: 148.7 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1455, allocations: 0 / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1458, allocations: 24 kB / 488 MB, free: 14.59 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.001504/0.1473, allocations: 1.075 MB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.1475, allocations: 59.91 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1475, allocations: 0 / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.1476, allocations: 31.92 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.148, allocations: 31.88 kB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1491, allocations: 0.7312 MB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1495, allocations: 0.7043 MB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.1495, allocations: 16.88 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.1496, allocations: 35.42 kB / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1496, allocations: 0 / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.165, allocations: 3.004 MB / 493.7 MB, free: 9.078 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/0.1654, allocations: 224 kB / 493.9 MB, free: 8.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.006, allocations: 0 / 493.9 MB, free: 8.832 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat