Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001043, allocations: 181 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 101.9 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3186/0.3186, allocations: 44.23 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003774, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4008, allocations: 61.9 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.5294, allocations: 90.21 MB / 0.5977 GB, free: 4.906 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5297, allocations: 83.91 kB / 0.5978 GB, free: 4.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01291/0.5427, allocations: 4.377 MB / 0.6021 GB, free: 464 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.5427, allocations: 4 kB / 0.6021 GB, free: 460 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.5428, allocations: 4 kB / 0.6021 GB, free: 456 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000838/0.5436, allocations: 484.5 kB / 0.6026 GB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5437, allocations: 8.031 kB / 0.6026 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.5437, allocations: 46.55 kB / 0.6026 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.5438, allocations: 15.81 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.5442, allocations: 229 kB / 0.6028 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.5442, allocations: 11.95 kB / 0.6029 GB, free: 15.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.5442, allocations: 11.94 kB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.5445, allocations: 104.2 kB / 0.603 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5445, allocations: 0 / 0.603 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.5445, allocations: 8 kB / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5445, allocations: 0 / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.5447, allocations: 59.91 kB / 0.603 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.5455, allocations: 0.5087 MB / 0.6035 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.5458, allocations: 94.59 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.5458, allocations: 4 kB / 0.6036 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.5461, allocations: 99.2 kB / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.744e-06/0.5461, allocations: 0 / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004382/0.5465, allocations: 145.5 kB / 0.6039 GB, free: 14.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.5466, allocations: 51.41 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.5468, allocations: 178.5 kB / 0.6041 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.5468, allocations: 38.08 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.301e-05/0.5469, allocations: 111.9 kB / 0.6042 GB, free: 14.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.5469, allocations: 27.8 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/0.547, allocations: 8 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5471, allocations: 330.8 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.5472, allocations: 27.98 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.5473, allocations: 78.14 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.5474, allocations: 35.94 kB / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.5474, allocations: 0 / 0.6047 GB, free: 13.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000304/0.5477, allocations: 141.3 kB / 0.6048 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.5478, allocations: 7.984 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5478, allocations: 4 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.5478, allocations: 0 / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5479, allocations: 27.98 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.548, allocations: 4 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.548, allocations: 7.906 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.5481, allocations: 12.08 kB / 0.6049 GB, free: 13.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.00014/0.5482, allocations: 134.2 kB / 0.605 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.5482, allocations: 11.91 kB / 0.605 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.5486, allocations: 135 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5486, allocations: 4 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5486, allocations: 0 / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.5486, allocations: 4 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.5489, allocations: 217.5 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5489, allocations: 0 / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.658e-05/0.549, allocations: 12 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.549, allocations: 0 / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.549, allocations: 4 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.549, allocations: 8.109 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.549, allocations: 0 / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.5495, allocations: 208.7 kB / 0.6056 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.5496, allocations: 93.03 kB / 0.6057 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.5496, allocations: 4 kB / 0.6057 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.5497, allocations: 15.98 kB / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.5498, allocations: 7.938 kB / 0.6057 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.5498, allocations: 0 / 0.6057 GB, free: 12.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.5499, allocations: 149.3 kB / 0.6059 GB, free: 12.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5499, allocations: 0 / 0.6059 GB, free: 12.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000247/0.5502, allocations: 35.83 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.00162/0.5518, allocations: 1.043 MB / 0.6069 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.5521, allocations: 87.89 kB / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5521, allocations: 0 / 0.607 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.5523, allocations: 44.17 kB / 0.607 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.5526, allocations: 36.31 kB / 0.6071 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.5543, allocations: 1.458 MB / 0.6085 GB, free: 9.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.5546, allocations: 0.7239 MB / 0.6092 GB, free: 8.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.491e-05/0.5547, allocations: 17.06 kB / 0.6092 GB, free: 8.824 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.5548, allocations: 43.42 kB / 0.6093 GB, free: 8.781 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5548, allocations: 384 / 0.6093 GB, free: 8.781 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.572, allocations: 3.307 MB / 0.6125 GB, free: 5.609 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.5722, allocations: 214.1 kB / 0.6127 GB, free: 5.367 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.242, allocations: 0 / 0.6127 GB, free: 5.367 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat does not exist to compare? outputFormat=mat