Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51",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.001873/0.001873, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.444/1.444, allocations: 223.2 MB / 241 MB, free: 10.15 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.0009377/0.0009377, allocations: 95.84 kB / 292.1 MB, free: 10.7 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.364/0.364, allocations: 44.21 MB / 387.5 MB, free: 38.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003443, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3886, allocations: 61.91 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5236, allocations: 89.29 MB / 0.5968 GB, free: 5.816 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.5239, allocations: 87.91 kB / 0.5969 GB, free: 5.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.5402, allocations: 5.758 MB / 0.6025 GB, free: 15.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5403, allocations: 3.938 kB / 0.6026 GB, free: 15.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.5403, allocations: 4 kB / 0.6026 GB, free: 15.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006907/0.541, allocations: 426.8 kB / 0.603 GB, free: 15.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.5411, allocations: 8.031 kB / 0.603 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.622e-05/0.5412, allocations: 42.5 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.5412, allocations: 11.91 kB / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.5416, allocations: 221.7 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5417, allocations: 11.95 kB / 0.6032 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.5417, allocations: 7.922 kB / 0.6033 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.5419, allocations: 53.67 kB / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5419, allocations: 4 kB / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5419, allocations: 0 / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5419, allocations: 0 / 0.6033 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.539e-05/0.542, allocations: 27.92 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.5425, allocations: 296.9 kB / 0.6036 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.5427, allocations: 62.61 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.5428, allocations: 3.984 kB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.5429, allocations: 67.52 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.543, allocations: 0 / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006269/0.5436, allocations: 185.1 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.5437, allocations: 51.41 kB / 0.604 GB, free: 14.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.5439, allocations: 201.8 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.5439, allocations: 29.7 kB / 0.6042 GB, free: 14.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.544, allocations: 108.1 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.544, allocations: 23.66 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.5441, allocations: 4 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5442, allocations: 327 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-05/0.5443, allocations: 23.98 kB / 0.6047 GB, free: 13.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.5444, allocations: 41.64 kB / 0.6047 GB, free: 13.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.755e-05/0.5444, allocations: 24 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5445, allocations: 0 / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002294/0.5447, allocations: 105.4 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5447, allocations: 5.25 kB / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.5447, allocations: 0 / 0.6048 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5448, allocations: 8.031 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.5449, allocations: 15.98 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5449, allocations: 0 / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.954e-05/0.545, allocations: 11.94 kB / 0.6049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.545, allocations: 0 / 0.6049 GB, free: 13.38 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 (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.0001741/0.5452, allocations: 135.6 kB / 0.605 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.5452, allocations: 11.91 kB / 0.605 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.5455, allocations: 122.9 kB / 0.6051 GB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5455, allocations: 8 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.5455, allocations: 0.6562 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5456, allocations: 3.984 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.5461, allocations: 423.4 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5462, allocations: 7.938 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.5462, allocations: 11.94 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5462, allocations: 0 / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.5463, allocations: 8 kB / 0.6056 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5463, allocations: 4.031 kB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5463, allocations: 80 / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.5466, allocations: 233.8 kB / 0.6058 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.5467, allocations: 93.02 kB / 0.6059 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.5468, allocations: 7.984 kB / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.5469, allocations: 4 kB / 0.6059 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.5469, allocations: 7.953 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.5469, allocations: 11.98 kB / 0.6059 GB, free: 12.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.5471, allocations: 164.3 kB / 0.6061 GB, free: 12.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5471, allocations: 0 / 0.6061 GB, free: 12.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.5474, allocations: 43.92 kB / 0.6061 GB, free: 11.98 MB / 426.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.001772/0.5492, allocations: 1.189 MB / 0.6073 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.5494, allocations: 63.92 kB / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5494, allocations: 0 / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.5495, allocations: 39.91 kB / 0.6074 GB, free: 10.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.5498, allocations: 28.11 kB / 0.6074 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.5514, allocations: 0.9513 MB / 0.6083 GB, free: 9.812 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5518, allocations: 0.7121 MB / 0.609 GB, free: 9.074 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.5518, allocations: 20.84 kB / 0.609 GB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.5519, allocations: 39.42 kB / 0.6091 GB, free: 9.016 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5519, allocations: 0 / 0.6091 GB, free: 9.016 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.5684, allocations: 3.221 MB / 0.6122 GB, free: 5.934 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.5687, allocations: 210.2 kB / 0.6124 GB, free: 5.695 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.227, allocations: 0 / 0.6124 GB, free: 5.695 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat