Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.001271/0.001271, allocations: 180.5 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.538/1.538, allocations: 221.4 MB / 236 MB, free: 2.941 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.0008701/0.0008702, allocations: 91.8 kB / 287 MB, free: 244 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.2497/0.2497, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.757e-05, allocations: 4.219 kB / 451.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1442, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5075/0.6518, allocations: 89.18 MB / 0.5889 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.652, allocations: 75.88 kB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.6669, allocations: 5.469 MB / 0.5943 GB, free: 10.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6669, allocations: 0 / 0.5943 GB, free: 10.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.667, allocations: 0 / 0.5943 GB, free: 10.52 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.0006285/0.6676, allocations: 398.2 kB / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/0.6677, allocations: 12.03 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.6677, allocations: 34.55 kB / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.6678, allocations: 7.906 kB / 0.5947 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.6683, allocations: 214.8 kB / 0.5949 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.6683, allocations: 7.953 kB / 0.595 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.6683, allocations: 4 kB / 0.595 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.6685, allocations: 49.69 kB / 0.595 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.6685, allocations: 3.938 kB / 0.595 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.6686, allocations: 0 / 0.595 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.6686, allocations: 7.938 kB / 0.595 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.319e-05/0.6687, allocations: 19.98 kB / 0.595 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.6693, allocations: 300.8 kB / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.6694, allocations: 54.64 kB / 0.5954 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.6695, allocations: 20.97 kB / 0.5954 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.6695, allocations: 0 / 0.5954 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.6697, allocations: 67.39 kB / 0.5955 GB, free: 9.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.6697, allocations: 4 kB / 0.5955 GB, free: 9.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005284/0.6702, allocations: 165.1 kB / 0.5956 GB, free: 8.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.6703, allocations: 55.41 kB / 0.5957 GB, free: 8.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.6705, allocations: 165.4 kB / 0.5958 GB, free: 8.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.6705, allocations: 25.7 kB / 0.5959 GB, free: 8.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.6706, allocations: 100.1 kB / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.6707, allocations: 23.7 kB / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.6707, allocations: 4 kB / 0.596 GB, free: 8.602 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6708, allocations: 330.8 kB / 0.5963 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.6709, allocations: 20 kB / 0.5963 GB, free: 8.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.6709, allocations: 29.72 kB / 0.5963 GB, free: 8.215 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.671, allocations: 23.92 kB / 0.5964 GB, free: 8.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.671, allocations: 0 / 0.5964 GB, free: 8.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001583/0.6711, allocations: 97.5 kB / 0.5965 GB, free: 8.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6712, allocations: 4.938 kB / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6712, allocations: 0 / 0.5965 GB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6712, allocations: 8.031 kB / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.6713, allocations: 23.92 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.6713, allocations: 0 / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.6714, allocations: 7.938 kB / 0.5965 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.6714, allocations: 4 kB / 0.5965 GB, free: 8.043 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 0.0001048/0.6715, allocations: 116.9 kB / 0.5966 GB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.6715, allocations: 11.91 kB / 0.5966 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.6718, allocations: 110.2 kB / 0.5967 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6718, allocations: 8 kB / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.6718, allocations: 288 / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6718, allocations: 0 / 0.5967 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.6723, allocations: 415.2 kB / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6723, allocations: 3.938 kB / 0.5971 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.6723, allocations: 11.94 kB / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6724, allocations: 4 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.6724, allocations: 0 / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6724, allocations: 4.031 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6724, allocations: 0 / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.6726, allocations: 221.9 kB / 0.5974 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.631e-05/0.6727, allocations: 92.92 kB / 0.5975 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.6727, allocations: 4 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.6728, allocations: 7.984 kB / 0.5975 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.6729, allocations: 15.89 kB / 0.5975 GB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.6729, allocations: 4 kB / 0.5975 GB, free: 6.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.673, allocations: 144.9 kB / 0.5976 GB, free: 6.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.673, allocations: 0 / 0.5976 GB, free: 6.781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.6733, allocations: 28 kB / 0.5977 GB, free: 6.754 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.001465/0.6748, allocations: 1.141 MB / 0.5988 GB, free: 5.699 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.6749, allocations: 63.86 kB / 0.5988 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6749, allocations: 0 / 0.5988 GB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.515e-05/0.675, allocations: 39.86 kB / 0.5989 GB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.6753, allocations: 23.94 kB / 0.5989 GB, free: 5.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.6758, allocations: 220.5 kB / 0.5991 GB, free: 5.312 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.6761, allocations: 0.7084 MB / 0.5998 GB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.6762, allocations: 20.41 kB / 0.5998 GB, free: 4.559 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.6762, allocations: 35.42 kB / 0.5998 GB, free: 4.523 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6762, allocations: 0 / 0.5998 GB, free: 4.523 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.6917, allocations: 2.992 MB / 0.6028 GB, free: 1.617 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/0.692, allocations: 201.3 kB / 0.603 GB, free: 1.383 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.412, allocations: 0 / 0.603 GB, free: 1.383 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat