Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 93.98 kB / 17 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001377/0.001377, allocations: 194.9 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, 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.2032/0.2032, allocations: 45.93 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003595, allocations: 12 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 63.46 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003191/0.1404, allocations: 1.431 MB / 483.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1422, allocations: 0.948 MB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.391e-05/0.1423, allocations: 0 / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1426, allocations: 35.83 kB / 484.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.1429, allocations: 71.75 kB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.1431, allocations: 95.75 kB / 484.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1433, allocations: 95.69 kB / 484.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1434, allocations: 8 kB / 484.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.768e-05/0.1435, allocations: 43.73 kB / 484.4 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.1436, allocations: 31.83 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1436, allocations: 4 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.1437, allocations: 32 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.1438, allocations: 19.92 kB / 484.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1438, allocations: 37.64 kB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1441, allocations: 92.02 kB / 484.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1441, allocations: 4 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1441, allocations: 4 kB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1441, allocations: 0 / 484.6 MB, free: 2.285 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.0006448/0.1448, allocations: 398.9 kB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1448, allocations: 8.031 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.696e-05/0.1449, allocations: 38.5 kB / 485 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.1449, allocations: 11.91 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.1452, allocations: 207.5 kB / 485.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1452, allocations: 8 kB / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1452, allocations: 4 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1454, allocations: 53.67 kB / 485.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1454, allocations: 4 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1454, allocations: 0 / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1454, allocations: 0 / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.036e-05/0.1455, allocations: 19.92 kB / 485.3 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1459, allocations: 288.8 kB / 485.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1461, allocations: 62.67 kB / 485.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.1461, allocations: 16.86 kB / 485.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1462, allocations: 7.969 kB / 485.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.1464, allocations: 75.33 kB / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.572e-06/0.1464, allocations: 0 / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005354/0.1469, allocations: 185.1 kB / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.147, allocations: 59.34 kB / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.1473, allocations: 190.9 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1473, allocations: 29.7 kB / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.1474, allocations: 100.1 kB / 486.3 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1474, allocations: 23.7 kB / 486.3 MB, free: 324 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1474, allocations: 0 / 486.3 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.1476, allocations: 322.8 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.301e-05/0.1477, allocations: 23.98 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.1477, allocations: 37.7 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.113e-05/0.1478, allocations: 20 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1478, allocations: 0 / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.148, allocations: 105.5 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.148, allocations: 11.98 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.148, allocations: 192 / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1481, allocations: 4.031 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.1482, allocations: 15.94 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1482, allocations: 7.953 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.1482, allocations: 0 / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1483, allocations: 11.92 kB / 486.9 MB, free: 15.75 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.0001045/0.1484, allocations: 129.7 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1484, allocations: 11.91 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.1485, allocations: 17.39 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1485, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1485, allocations: 4 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1485, allocations: 3.953 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/0.1489, allocations: 395.2 kB / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.149, allocations: 0 / 487.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.254e-05/0.149, allocations: 11.98 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.149, allocations: 0 / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.149, allocations: 4 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.149, allocations: 3.953 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.149, allocations: 4.031 kB / 487.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.1493, allocations: 204.2 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.1494, allocations: 96.91 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1494, allocations: 4 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.1495, allocations: 0 / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1495, allocations: 11.94 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1495, allocations: 8.375 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1497, allocations: 152.7 kB / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1497, allocations: 0 / 487.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1499, allocations: 20 kB / 487.9 MB, free: 14.58 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.00159/0.1515, allocations: 1.089 MB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001678/0.1517, allocations: 55.91 kB / 489.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1517, allocations: 4 kB / 489.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/0.1518, allocations: 32.05 kB / 489.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1522, allocations: 27.92 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.001329/0.1535, allocations: 0.7273 MB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.154, allocations: 0.7082 MB / 490.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.1541, allocations: 16.83 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.1542, allocations: 43.34 kB / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1542, allocations: 0 / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.169, allocations: 3.007 MB / 493.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.1692, allocations: 224.5 kB / 493.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.014, allocations: 0 / 493.9 MB, free: 8.812 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat