Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001082/0.001082, allocations: 185.2 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.683/1.683, 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.001032/0.001032, allocations: 86.88 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.2315/0.2315, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1309, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.5247, allocations: 87.72 MB / 0.5645 GB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.525, allocations: 76.28 kB / 0.5646 GB, free: 11.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.5407, allocations: 5.726 MB / 0.5702 GB, free: 6.723 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5407, allocations: 0 / 0.5702 GB, free: 6.723 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.5407, allocations: 8 kB / 0.5702 GB, free: 6.715 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006052/0.5413, allocations: 461.7 kB / 0.5706 GB, free: 6.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5414, allocations: 8.031 kB / 0.5706 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.5415, allocations: 37.5 kB / 0.5707 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.5415, allocations: 11.81 kB / 0.5707 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.5419, allocations: 234.5 kB / 0.5709 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5419, allocations: 7 kB / 0.5709 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.5419, allocations: 0 / 0.5709 GB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.5421, allocations: 56.36 kB / 0.571 GB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.5421, allocations: 7.906 kB / 0.571 GB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.5421, allocations: 7.984 kB / 0.571 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5421, allocations: 0 / 0.571 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.62e-05/0.5422, allocations: 22.67 kB / 0.571 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.5426, allocations: 310.9 kB / 0.5713 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.5428, allocations: 64.05 kB / 0.5714 GB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.5428, allocations: 4 kB / 0.5714 GB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.543, allocations: 68.95 kB / 0.5714 GB, free: 5.344 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.543, allocations: 0 / 0.5714 GB, free: 5.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005396/0.5435, allocations: 189.9 kB / 0.5716 GB, free: 5.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.5436, allocations: 55.41 kB / 0.5717 GB, free: 5.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.5438, allocations: 245.8 kB / 0.5719 GB, free: 4.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.5439, allocations: 33.2 kB / 0.5719 GB, free: 4.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.5439, allocations: 113.1 kB / 0.572 GB, free: 4.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.544, allocations: 27.25 kB / 0.5721 GB, free: 4.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.544, allocations: 0 / 0.5721 GB, free: 4.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5441, allocations: 325.8 kB / 0.5724 GB, free: 4.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.478e-05/0.5441, allocations: 22.98 kB / 0.5724 GB, free: 4.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.5442, allocations: 41.2 kB / 0.5724 GB, free: 4.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.463e-05/0.5443, allocations: 27.12 kB / 0.5725 GB, free: 4.367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.5443, allocations: 0 / 0.5725 GB, free: 4.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001657/0.5444, allocations: 103.4 kB / 0.5726 GB, free: 4.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5445, allocations: 7.438 kB / 0.5726 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5445, allocations: 0 / 0.5726 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5445, allocations: 4 kB / 0.5726 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.5446, allocations: 19.92 kB / 0.5726 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.5446, allocations: 3.953 kB / 0.5726 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.5446, allocations: 4 kB / 0.5726 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.5447, allocations: 11.78 kB / 0.5726 GB, free: 4.234 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 (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.0001061/0.5448, allocations: 141.5 kB / 0.5728 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.5448, allocations: 15.81 kB / 0.5728 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.545, allocations: 128 kB / 0.5729 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.5451, allocations: 4 kB / 0.5729 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5451, allocations: 0 / 0.5729 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5451, allocations: 3.953 kB / 0.5729 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.5456, allocations: 440.7 kB / 0.5733 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5456, allocations: 0 / 0.5733 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.5456, allocations: 8 kB / 0.5733 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5456, allocations: 0 / 0.5733 GB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.5456, allocations: 7.984 kB / 0.5733 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.5456, allocations: 11.83 kB / 0.5733 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5457, allocations: 0 / 0.5733 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.5459, allocations: 227.8 kB / 0.5736 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.546, allocations: 104.5 kB / 0.5737 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.5461, allocations: 3.953 kB / 0.5737 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.5461, allocations: 7.375 kB / 0.5737 GB, free: 3.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.5462, allocations: 7.984 kB / 0.5737 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.5462, allocations: 0 / 0.5737 GB, free: 3.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001663/0.5464, allocations: 215.2 kB / 0.5739 GB, free: 2.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5464, allocations: 0 / 0.5739 GB, free: 2.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.5467, allocations: 35.92 kB / 0.5739 GB, free: 2.93 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 (9): * Single equations (assignments): 7 * 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.001402/0.5481, allocations: 1.202 MB / 0.5751 GB, free: 1.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.5482, allocations: 62.03 kB / 0.5752 GB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5483, allocations: 0 / 0.5752 GB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.5483, allocations: 39.05 kB / 0.5752 GB, free: 1.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.5486, allocations: 22.98 kB / 0.5752 GB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.55, allocations: 1.059 MB / 0.5762 GB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.5503, allocations: 0.7268 MB / 0.577 GB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.5503, allocations: 21.53 kB / 0.577 GB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.5504, allocations: 43.3 kB / 0.577 GB, free: 15.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.834e-06/0.5505, allocations: 4.109 kB / 0.577 GB, free: 15.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.5641, allocations: 3.511 MB / 0.5804 GB, free: 12.38 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.5643, allocations: 208.8 kB / 0.5806 GB, free: 12.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.196, allocations: 0 / 0.5806 GB, free: 12.14 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat