Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.0009368/0.0009367, allocations: 174.4 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.439/1.439, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0008322/0.0008322, allocations: 90.41 kB / 281.6 MB, free: 5.316 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.208/0.208, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.436e-05/2.434e-05, allocations: 8.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.5234, allocations: 88.56 MB / 0.5813 GB, free: 7.855 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.5237, allocations: 75.95 kB / 0.5813 GB, free: 7.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.5386, allocations: 5.379 MB / 0.5866 GB, free: 2.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5387, allocations: 0 / 0.5866 GB, free: 2.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.5387, allocations: 2.953 kB / 0.5866 GB, free: 2.414 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.0005398/0.5393, allocations: 394.2 kB / 0.587 GB, free: 1.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5393, allocations: 11.98 kB / 0.587 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.5394, allocations: 7.906 kB / 0.587 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5397, allocations: 210.8 kB / 0.5872 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.5397, allocations: 4 kB / 0.5872 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.5398, allocations: 0 / 0.5872 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.643e-05/0.5399, allocations: 23.98 kB / 0.5872 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.54, allocations: 55.41 kB / 0.5873 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.54, allocations: 4 kB / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.54, allocations: 7.984 kB / 0.5873 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.54, allocations: 7.938 kB / 0.5873 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.5404, allocations: 249.4 kB / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.5405, allocations: 55.38 kB / 0.5876 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.5406, allocations: 24.98 kB / 0.5876 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.5406, allocations: 8 kB / 0.5876 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.5408, allocations: 67.3 kB / 0.5877 GB, free: 1.148 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.5408, allocations: 3.938 kB / 0.5877 GB, free: 1.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004813/0.5412, allocations: 177.1 kB / 0.5879 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.5413, allocations: 77.11 kB / 0.5879 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.5414, allocations: 141.5 kB / 0.5881 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.5415, allocations: 25.7 kB / 0.5881 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.5415, allocations: 104.3 kB / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.5415, allocations: 27.56 kB / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.5415, allocations: 0 / 0.5882 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.5417, allocations: 326.8 kB / 0.5885 GB, free: 236 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.5417, allocations: 23.98 kB / 0.5885 GB, free: 212 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.5418, allocations: 44.95 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.5418, allocations: 36 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5418, allocations: 0 / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001641/0.542, allocations: 114.5 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.542, allocations: 9.453 kB / 0.5887 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5421, allocations: 0 / 0.5887 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5421, allocations: 0 / 0.5887 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5422, allocations: 20 kB / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5422, allocations: 3.938 kB / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.5423, allocations: 0 / 0.5888 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.5423, allocations: 4 kB / 0.5888 GB, free: 15.97 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 (13): * Single equations (assignments): 13 * 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 9.852e-05/0.5424, allocations: 118.3 kB / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001647/0.5426, allocations: 109.5 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.5426, allocations: 11.84 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.5428, allocations: 118.2 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.5428, allocations: 4 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5428, allocations: 3.984 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5428, allocations: 0 / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.5433, allocations: 407.7 kB / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5433, allocations: 4 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.5434, allocations: 12.27 kB / 0.5895 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5434, allocations: 4 kB / 0.5895 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.5434, allocations: 0 / 0.5895 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5434, allocations: 3.938 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.5434, allocations: 7.953 kB / 0.5895 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.5437, allocations: 222.8 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.5437, allocations: 89.02 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.5438, allocations: 4 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.5438, allocations: 7.938 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.5439, allocations: 7.938 kB / 0.5899 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5439, allocations: 7.984 kB / 0.5899 GB, free: 14.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.899e-05/0.544, allocations: 126.3 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.544, allocations: 0 / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000299/0.5443, allocations: 39.94 kB / 0.59 GB, free: 14.58 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 (11): * Single equations (assignments): 9 * 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.001448/0.5458, allocations: 1.166 MB / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.546, allocations: 71.92 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.546, allocations: 0 / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.546, allocations: 35.92 kB / 0.5913 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.5463, allocations: 30.33 kB / 0.5913 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.5469, allocations: 203.8 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.5471, allocations: 0.7041 MB / 0.5922 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.437e-05/0.5472, allocations: 16.88 kB / 0.5922 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.5473, allocations: 35.42 kB / 0.5922 GB, free: 12.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5473, allocations: 0 / 0.5922 GB, free: 12.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.5686, allocations: 2.938 MB / 0.5951 GB, free: 9.383 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.5688, allocations: 175.3 kB / 0.5953 GB, free: 9.195 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.312, allocations: 0 / 0.5953 GB, free: 9.195 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat does not exist to compare? outputFormat=mat