Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83",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.001054/0.001054, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.5 MB / 230.7 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 96.62 kB / 281.6 MB, free: 5.266 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.2076/0.2076, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.356e-05, allocations: 8.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.5169, allocations: 89.32 MB / 0.582 GB, free: 7.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.5172, allocations: 67.97 kB / 0.5821 GB, free: 7.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02191/0.5392, allocations: 7.089 MB / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5392, allocations: 0 / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.176e-05/0.5393, allocations: 8 kB / 0.589 GB, free: 15.95 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007376/0.54, allocations: 0.4955 MB / 0.5895 GB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5401, allocations: 15.98 kB / 0.5895 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.5401, allocations: 23.72 kB / 0.5895 GB, free: 15.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.5406, allocations: 282.6 kB / 0.5898 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5407, allocations: 4 kB / 0.5898 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.5407, allocations: 7.938 kB / 0.5898 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/0.5408, allocations: 35.98 kB / 0.5898 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.541, allocations: 100.9 kB / 0.5899 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.541, allocations: 0 / 0.5899 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.541, allocations: 0 / 0.5899 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.541, allocations: 3.938 kB / 0.5899 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.5416, allocations: 374 kB / 0.5903 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.5418, allocations: 109.4 kB / 0.5904 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.5418, allocations: 33.72 kB / 0.5904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5419, allocations: 4 kB / 0.5904 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.542, allocations: 121 kB / 0.5906 GB, free: 14.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.5421, allocations: 0 / 0.5906 GB, free: 14.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002871/0.5423, allocations: 133.4 kB / 0.5907 GB, free: 14.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.5424, allocations: 106.8 kB / 0.5908 GB, free: 13.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.5427, allocations: 290.3 kB / 0.5911 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.5428, allocations: 29.7 kB / 0.5911 GB, free: 13.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.5429, allocations: 136.2 kB / 0.5912 GB, free: 13.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.5429, allocations: 39.47 kB / 0.5913 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.5429, allocations: 0 / 0.5913 GB, free: 13.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5431, allocations: 334.8 kB / 0.5916 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.5432, allocations: 28 kB / 0.5916 GB, free: 13.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.347e-05/0.5432, allocations: 75.52 kB / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.71e-05/0.5433, allocations: 40.14 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5433, allocations: 0 / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002354/0.5436, allocations: 137.3 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5436, allocations: 4 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5436, allocations: 0 / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.5436, allocations: 4 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5438, allocations: 23.92 kB / 0.5919 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.5438, allocations: 8.062 kB / 0.5919 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.5439, allocations: 4 kB / 0.5919 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.5439, allocations: 4 kB / 0.5919 GB, free: 12.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001033/0.544, allocations: 119.1 kB / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002078/0.5442, allocations: 145.3 kB / 0.5921 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.5443, allocations: 27.72 kB / 0.5922 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.5445, allocations: 163.3 kB / 0.5923 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5445, allocations: 4 kB / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5446, allocations: 320 / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.5446, allocations: 3.984 kB / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.5448, allocations: 234.1 kB / 0.5926 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.5448, allocations: 7.953 kB / 0.5926 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.5449, allocations: 8 kB / 0.5926 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.5449, allocations: 4 kB / 0.5926 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.5449, allocations: 3.984 kB / 0.5926 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5449, allocations: 0 / 0.5926 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.5449, allocations: 7.938 kB / 0.5926 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.5452, allocations: 191.3 kB / 0.5928 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.5453, allocations: 108.8 kB / 0.5929 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.5453, allocations: 8 kB / 0.5929 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.5454, allocations: 7.984 kB / 0.5929 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.5455, allocations: 11.98 kB / 0.5929 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.5455, allocations: 8 kB / 0.5929 GB, free: 11.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002337/0.5457, allocations: 237.9 kB / 0.5931 GB, free: 11.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5457, allocations: 0 / 0.5931 GB, free: 11.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.546, allocations: 43.92 kB / 0.5932 GB, free: 11.31 MB / 410.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001283/0.5473, allocations: 1.05 MB / 0.5942 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.5475, allocations: 83.92 kB / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.5475, allocations: 0 / 0.5943 GB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.5476, allocations: 47.94 kB / 0.5943 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.5479, allocations: 54.31 kB / 0.5944 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.5487, allocations: 372.4 kB / 0.5947 GB, free: 9.711 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.549, allocations: 0.7477 MB / 0.5955 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.5492, allocations: 37.94 kB / 0.5955 GB, free: 8.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.5493, allocations: 71.41 kB / 0.5956 GB, free: 8.828 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5493, allocations: 0 / 0.5956 GB, free: 8.828 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.5741, allocations: 4.715 MB / 0.6002 GB, free: 4.137 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/0.5745, allocations: 158 kB / 0.6003 GB, free: 3.949 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.348, allocations: 4 kB / 0.6003 GB, free: 3.945 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat