Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001403/0.001404, allocations: 176.5 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.412/1.412, 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.0009655/0.0009656, allocations: 102.8 kB / 292.1 MB, free: 10.93 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.4386/0.4386, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 15.98 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.4453, allocations: 61.9 MB / 0.5096 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.604, allocations: 89.34 MB / 0.5969 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.6043, allocations: 87.91 kB / 0.597 GB, free: 5.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02724/0.6316, allocations: 6.241 MB / 0.6031 GB, free: 15.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.6316, allocations: 0 / 0.6031 GB, free: 15.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.6316, allocations: 4 kB / 0.6031 GB, free: 15.45 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007465/0.6324, allocations: 434.7 kB / 0.6035 GB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.6325, allocations: 12.03 kB / 0.6035 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.6325, allocations: 42.55 kB / 0.6035 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.6326, allocations: 15.81 kB / 0.6036 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.6331, allocations: 228.1 kB / 0.6038 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.6331, allocations: 8 kB / 0.6038 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.6332, allocations: 0 / 0.6038 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.6334, allocations: 77.59 kB / 0.6039 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.6334, allocations: 3.906 kB / 0.6039 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.6335, allocations: 4 kB / 0.6039 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6335, allocations: 0 / 0.6039 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.6337, allocations: 55.94 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.6343, allocations: 336.7 kB / 0.6042 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003317/0.6347, allocations: 90.53 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.6347, allocations: 0 / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.6349, allocations: 91.69 kB / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.6349, allocations: 0 / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.001212/0.6361, allocations: 311.7 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.6362, allocations: 55.41 kB / 0.6048 GB, free: 13.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.6364, allocations: 186.4 kB / 0.6049 GB, free: 13.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.6364, allocations: 29.7 kB / 0.605 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.6365, allocations: 108.3 kB / 0.6051 GB, free: 13.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.6366, allocations: 47.36 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.6366, allocations: 4.188 kB / 0.6051 GB, free: 13.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6368, allocations: 322.8 kB / 0.6054 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.6369, allocations: 43.92 kB / 0.6055 GB, free: 12.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.6371, allocations: 58.53 kB / 0.6055 GB, free: 12.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.6373, allocations: 39.98 kB / 0.6056 GB, free: 12.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.6373, allocations: 4 kB / 0.6056 GB, free: 12.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004389/0.6377, allocations: 157.5 kB / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.6378, allocations: 7.984 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6378, allocations: 4 kB / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6378, allocations: 0 / 0.6057 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.638, allocations: 27.98 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.638, allocations: 0 / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.6381, allocations: 4 kB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.6381, allocations: 7.953 kB / 0.6058 GB, free: 12.45 MB / 426.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 (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.0001556/0.6383, allocations: 138.3 kB / 0.6059 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.6383, allocations: 11.81 kB / 0.6059 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005833/0.6389, allocations: 195.8 kB / 0.6061 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6389, allocations: 0 / 0.6061 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.639, allocations: 4 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.639, allocations: 3.984 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009971/0.64, allocations: 0.5164 MB / 0.6066 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.64, allocations: 4 kB / 0.6066 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.6402, allocations: 19.98 kB / 0.6066 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.6402, allocations: 4 kB / 0.6066 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.6402, allocations: 8 kB / 0.6066 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.6402, allocations: 7.953 kB / 0.6067 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.6402, allocations: 0 / 0.6067 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.6408, allocations: 307.9 kB / 0.6069 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.6409, allocations: 92.88 kB / 0.607 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.641, allocations: 11.98 kB / 0.607 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.6411, allocations: 4 kB / 0.6071 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.6412, allocations: 11.98 kB / 0.6071 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.6412, allocations: 12 kB / 0.6071 GB, free: 10.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002001/0.6414, allocations: 144.9 kB / 0.6072 GB, free: 10.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6415, allocations: 0 / 0.6072 GB, free: 10.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.642, allocations: 47.92 kB / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002668/0.6447, allocations: 1.386 MB / 0.6086 GB, free: 9.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004259/0.6451, allocations: 103.9 kB / 0.6087 GB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6451, allocations: 0 / 0.6087 GB, free: 9.488 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.6453, allocations: 63.91 kB / 0.6088 GB, free: 9.426 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.6457, allocations: 45.44 kB / 0.6088 GB, free: 9.387 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.648, allocations: 1.034 MB / 0.6098 GB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.6484, allocations: 0.7204 MB / 0.6105 GB, free: 7.551 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.6486, allocations: 29.41 kB / 0.6106 GB, free: 7.523 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.6487, allocations: 43.42 kB / 0.6106 GB, free: 7.48 MB / 426.7 MB Notification: Performance of SimCode: time 4.5e-07/0.6488, allocations: 0 / 0.6106 GB, free: 7.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.6655, allocations: 3.671 MB / 0.6142 GB, free: 3.949 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/0.6657, allocations: 217.8 kB / 0.6144 GB, free: 3.707 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.305, allocations: 0 / 0.6144 GB, free: 3.707 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat