Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 183.4 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009178/0.0009176, allocations: 98.77 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2285/0.2285, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003733, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.5232, allocations: 87.75 MB / 0.5646 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.5235, allocations: 77.08 kB / 0.5646 GB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01583/0.5393, allocations: 5.967 MB / 0.5705 GB, free: 6.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5394, allocations: 0 / 0.5705 GB, free: 6.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.5394, allocations: 0 / 0.5705 GB, free: 6.824 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005934/0.54, allocations: 449.7 kB / 0.5709 GB, free: 6.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.5401, allocations: 12.03 kB / 0.5709 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.5401, allocations: 32.69 kB / 0.5709 GB, free: 6.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.5402, allocations: 11.91 kB / 0.5709 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.5405, allocations: 235.9 kB / 0.5712 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5405, allocations: 9.312 kB / 0.5712 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.5406, allocations: 5.188 kB / 0.5712 GB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.5407, allocations: 68.47 kB / 0.5712 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5408, allocations: 0 / 0.5712 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5408, allocations: 7.438 kB / 0.5712 GB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.5408, allocations: 0 / 0.5712 GB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.5409, allocations: 39.09 kB / 0.5713 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.5413, allocations: 335.5 kB / 0.5716 GB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.5415, allocations: 79.83 kB / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.5416, allocations: 4 kB / 0.5717 GB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.5417, allocations: 77.58 kB / 0.5718 GB, free: 5.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.5418, allocations: 4 kB / 0.5718 GB, free: 5.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006405/0.5424, allocations: 237.2 kB / 0.572 GB, free: 5.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.5424, allocations: 55.39 kB / 0.572 GB, free: 5.152 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.5427, allocations: 229.8 kB / 0.5723 GB, free: 4.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.5427, allocations: 25.7 kB / 0.5723 GB, free: 4.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.5428, allocations: 114.1 kB / 0.5724 GB, free: 4.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.5428, allocations: 34.97 kB / 0.5724 GB, free: 4.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.5429, allocations: 1.938 kB / 0.5724 GB, free: 4.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.543, allocations: 329.5 kB / 0.5727 GB, free: 4.469 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.5431, allocations: 35.42 kB / 0.5728 GB, free: 4.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.53e-05/0.5431, allocations: 49.56 kB / 0.5728 GB, free: 4.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.998e-05/0.5432, allocations: 39.73 kB / 0.5729 GB, free: 4.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.5432, allocations: 0 / 0.5729 GB, free: 4.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002284/0.5435, allocations: 136.1 kB / 0.573 GB, free: 4.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5435, allocations: 8 kB / 0.573 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5435, allocations: 4.031 kB / 0.573 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5435, allocations: 0 / 0.573 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.5436, allocations: 31.88 kB / 0.573 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5437, allocations: 0 / 0.573 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.5437, allocations: 7.125 kB / 0.573 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.5437, allocations: 0 / 0.573 GB, free: 4.223 MB / 378.7 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 (13): * Single equations (assignments): 13 * 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.0001039/0.5439, allocations: 138.8 kB / 0.5732 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.5439, allocations: 15.81 kB / 0.5732 GB, free: 4.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.5442, allocations: 177.7 kB / 0.5734 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5442, allocations: 0 / 0.5734 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5442, allocations: 7.953 kB / 0.5734 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5442, allocations: 3.984 kB / 0.5734 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.5448, allocations: 481.2 kB / 0.5738 GB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5448, allocations: 0 / 0.5738 GB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.5449, allocations: 22.42 kB / 0.5739 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.5449, allocations: 7.984 kB / 0.5739 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.5449, allocations: 7.938 kB / 0.5739 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5449, allocations: 0 / 0.5739 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5449, allocations: 4 kB / 0.5739 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.5452, allocations: 253 kB / 0.5741 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.5453, allocations: 112.7 kB / 0.5742 GB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.5453, allocations: 3.75 kB / 0.5742 GB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.5454, allocations: 4 kB / 0.5742 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.5455, allocations: 7.984 kB / 0.5742 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.5455, allocations: 11.92 kB / 0.5742 GB, free: 3.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.5456, allocations: 184.1 kB / 0.5744 GB, free: 2.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5457, allocations: 0 / 0.5744 GB, free: 2.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002827/0.5459, allocations: 43.88 kB / 0.5745 GB, free: 2.832 MB / 378.7 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 (13): * Single equations (assignments): 11 * 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.001423/0.5474, allocations: 1.234 MB / 0.5757 GB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.5476, allocations: 90.16 kB / 0.5758 GB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5476, allocations: 0 / 0.5758 GB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.5477, allocations: 53.47 kB / 0.5758 GB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.548, allocations: 23.73 kB / 0.5758 GB, free: 1.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.5493, allocations: 1.099 MB / 0.5769 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.5496, allocations: 0.7237 MB / 0.5776 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.459e-05/0.5497, allocations: 32.61 kB / 0.5776 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.5498, allocations: 49.73 kB / 0.5777 GB, free: 15.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5498, allocations: 7.938 kB / 0.5777 GB, free: 15.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.5638, allocations: 3.658 MB / 0.5813 GB, free: 12.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.5641, allocations: 204.7 kB / 0.5815 GB, free: 11.81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.114, allocations: 4 kB / 0.5815 GB, free: 11.81 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat