Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55",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.00142/0.00142, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.534/1.534, allocations: 221.3 MB / 236 MB, free: 2.973 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.001099/0.001098, allocations: 99.66 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.489e-05/5.499e-05, allocations: 8.156 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1727, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.6181, allocations: 89.44 MB / 0.5892 GB, free: 15.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.6184, allocations: 76.92 kB / 0.5892 GB, free: 15.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01699/0.6354, allocations: 5.983 MB / 0.5951 GB, free: 9.758 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.6354, allocations: 0 / 0.5951 GB, free: 9.758 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.6355, allocations: 4 kB / 0.5951 GB, free: 9.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005436/0.636, allocations: 390.2 kB / 0.5954 GB, free: 9.328 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.6361, allocations: 12.03 kB / 0.5955 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.145e-05/0.6361, allocations: 38.5 kB / 0.5955 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.6362, allocations: 15.89 kB / 0.5955 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.6366, allocations: 204.9 kB / 0.5957 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.6366, allocations: 0 / 0.5957 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.6366, allocations: 7.984 kB / 0.5957 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.6368, allocations: 67.34 kB / 0.5958 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.6368, allocations: 3.938 kB / 0.5958 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.6369, allocations: 0 / 0.5958 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.6369, allocations: 3.984 kB / 0.5958 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.683e-05/0.6369, allocations: 24 kB / 0.5958 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.6374, allocations: 280.9 kB / 0.5961 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.6376, allocations: 58.61 kB / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.6376, allocations: 24.97 kB / 0.5962 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.6376, allocations: 0 / 0.5962 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.6378, allocations: 63.41 kB / 0.5962 GB, free: 8.406 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.6378, allocations: 0 / 0.5962 GB, free: 8.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005887/0.6384, allocations: 161.2 kB / 0.5964 GB, free: 8.242 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.6385, allocations: 77.11 kB / 0.5964 GB, free: 8.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.6387, allocations: 146.6 kB / 0.5966 GB, free: 8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.6387, allocations: 33.69 kB / 0.5966 GB, free: 7.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.6388, allocations: 96.14 kB / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.6388, allocations: 27.64 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.6388, allocations: 4 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.639, allocations: 318.8 kB / 0.597 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.639, allocations: 20 kB / 0.5971 GB, free: 7.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-05/0.6391, allocations: 38.58 kB / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.368e-05/0.6392, allocations: 23.92 kB / 0.5971 GB, free: 7.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.6392, allocations: 0 / 0.5971 GB, free: 7.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.6393, allocations: 93.62 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6394, allocations: 8 kB / 0.5972 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6394, allocations: 0 / 0.5972 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.6394, allocations: 0 / 0.5972 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.6395, allocations: 27.92 kB / 0.5972 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6395, allocations: 3.953 kB / 0.5972 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.6396, allocations: 0 / 0.5972 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.6396, allocations: 4.188 kB / 0.5972 GB, free: 7.281 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 9.048e-05/0.6397, allocations: 113.2 kB / 0.5974 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.6397, allocations: 11.89 kB / 0.5974 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.64, allocations: 114.2 kB / 0.5975 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.64, allocations: 4 kB / 0.5975 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.64, allocations: 0 / 0.5975 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.64, allocations: 7.938 kB / 0.5975 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.6405, allocations: 403.2 kB / 0.5979 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6405, allocations: 0 / 0.5979 GB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.6405, allocations: 16.02 kB / 0.5979 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.6406, allocations: 0 / 0.5979 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.6406, allocations: 8 kB / 0.5979 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.6406, allocations: 7.891 kB / 0.5979 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6406, allocations: 0 / 0.5979 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.6408, allocations: 210 kB / 0.5981 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.6409, allocations: 97 kB / 0.5982 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.6409, allocations: 3.953 kB / 0.5982 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.641, allocations: 8 kB / 0.5982 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.6411, allocations: 7.984 kB / 0.5982 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.6411, allocations: 4 kB / 0.5982 GB, free: 6.172 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.832e-05/0.6412, allocations: 117.5 kB / 0.5983 GB, free: 6.059 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6412, allocations: 0 / 0.5983 GB, free: 6.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000286/0.6415, allocations: 47.92 kB / 0.5984 GB, free: 6.012 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.001573/0.6431, allocations: 1.18 MB / 0.5995 GB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.6433, allocations: 59.92 kB / 0.5996 GB, free: 4.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6433, allocations: 0 / 0.5996 GB, free: 4.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.505e-05/0.6433, allocations: 32.06 kB / 0.5996 GB, free: 4.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.6436, allocations: 27.97 kB / 0.5996 GB, free: 4.812 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.6442, allocations: 200.9 kB / 0.5998 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.6446, allocations: 0.7043 MB / 0.6005 GB, free: 3.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.365e-05/0.6447, allocations: 24.84 kB / 0.6005 GB, free: 3.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.6448, allocations: 31.42 kB / 0.6006 GB, free: 3.789 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6448, allocations: 3.938 kB / 0.6006 GB, free: 3.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.6629, allocations: 3.087 MB / 0.6036 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.6631, allocations: 193.3 kB / 0.6038 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.34, allocations: 0 / 0.6038 GB, free: 0.5625 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat