Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001024/0.001024, allocations: 167.6 kB / 8.739 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.377/1.377, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009286/0.0009288, allocations: 104.4 kB / 281.6 MB, free: 5.312 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.1835/0.1835, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.46e-05, allocations: 8 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1139, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.4971, allocations: 88.78 MB / 0.5815 GB, free: 7.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.4973, allocations: 71.97 kB / 0.5815 GB, free: 7.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.5139, allocations: 5.841 MB / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.514, allocations: 0 / 0.5872 GB, free: 1.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.514, allocations: 12 kB / 0.5873 GB, free: 1.656 MB / 394.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.0005355/0.5146, allocations: 390.2 kB / 0.5876 GB, free: 1.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/0.5146, allocations: 11.98 kB / 0.5876 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.5147, allocations: 7.906 kB / 0.5876 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.515, allocations: 206.8 kB / 0.5878 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.5151, allocations: 7.938 kB / 0.5879 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.5151, allocations: 4 kB / 0.5879 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.503e-05/0.5152, allocations: 19.94 kB / 0.5879 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.5153, allocations: 67.39 kB / 0.5879 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5153, allocations: 0 / 0.5879 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.5153, allocations: 4 kB / 0.5879 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5154, allocations: 0 / 0.5879 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.5157, allocations: 257.5 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.5159, allocations: 58.62 kB / 0.5882 GB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.5159, allocations: 20.97 kB / 0.5883 GB, free: 488 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5159, allocations: 0 / 0.5883 GB, free: 488 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.5161, allocations: 59.41 kB / 0.5883 GB, free: 416 kB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.5161, allocations: 3.984 kB / 0.5883 GB, free: 412 kB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004757/0.5166, allocations: 153.2 kB / 0.5885 GB, free: 252 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.5166, allocations: 77.11 kB / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.5168, allocations: 142.7 kB / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.5168, allocations: 29.7 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.5169, allocations: 92.12 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.5169, allocations: 23.66 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.5169, allocations: 0 / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5171, allocations: 326.8 kB / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.5171, allocations: 20 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.5172, allocations: 42.56 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.5172, allocations: 27.92 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5172, allocations: 0 / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001461/0.5174, allocations: 85.58 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5174, allocations: 4 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5174, allocations: 4 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.5174, allocations: 0 / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.5175, allocations: 20.11 kB / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.5176, allocations: 0 / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.5176, allocations: 12 kB / 0.5893 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.5176, allocations: 4 kB / 0.5893 GB, free: 15.3 MB / 410.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 () * 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 7.38e-05/0.5177, allocations: 111.2 kB / 0.5894 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000142/0.5179, allocations: 89.58 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.5179, allocations: 11.91 kB / 0.5895 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.5181, allocations: 110.1 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.5181, allocations: 4 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5181, allocations: 3.938 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5181, allocations: 7.953 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.5185, allocations: 359.9 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5185, allocations: 0 / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.5186, allocations: 15.98 kB / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5186, allocations: 0 / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.5186, allocations: 4 kB / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.5186, allocations: 7.891 kB / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5186, allocations: 0 / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.5188, allocations: 206.5 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.5189, allocations: 93 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.5189, allocations: 11.89 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.571e-05/0.519, allocations: 0 / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.5191, allocations: 7.984 kB / 0.5903 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.5191, allocations: 8 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.225e-05/0.5192, allocations: 117.3 kB / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5192, allocations: 0 / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.5195, allocations: 35.94 kB / 0.5905 GB, free: 14.02 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001348/0.5209, allocations: 1.151 MB / 0.5916 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.521, allocations: 51.94 kB / 0.5917 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.521, allocations: 0 / 0.5917 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/0.5211, allocations: 39.86 kB / 0.5917 GB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.5214, allocations: 24.11 kB / 0.5917 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.5219, allocations: 187.3 kB / 0.5919 GB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.5222, allocations: 0.7079 MB / 0.5926 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.719e-05/0.5223, allocations: 16.84 kB / 0.5926 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.5223, allocations: 39.42 kB / 0.5927 GB, free: 11.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5223, allocations: 0 / 0.5927 GB, free: 11.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.5434, allocations: 2.745 MB / 0.5953 GB, free: 9.059 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.5436, allocations: 170.2 kB / 0.5955 GB, free: 8.867 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.127, allocations: 0 / 0.5955 GB, free: 8.867 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat