Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.002048/0.002048, 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.4 MB / 236 MB, free: 2.953 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.0009099/0.0009097, allocations: 80.06 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.2545/0.2545, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.689e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.164, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4777/0.6418, allocations: 89.18 MB / 0.5889 GB, free: 60 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6421, allocations: 79.77 kB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.6573, allocations: 5.511 MB / 0.5943 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6574, allocations: 0 / 0.5943 GB, free: 10.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.6574, allocations: 4 kB / 0.5943 GB, free: 10.48 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.0004728/0.6579, allocations: 402.2 kB / 0.5947 GB, free: 10.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6579, allocations: 12.03 kB / 0.5947 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.658, allocations: 38.5 kB / 0.5948 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.658, allocations: 11.81 kB / 0.5948 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.6583, allocations: 207.6 kB / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.6584, allocations: 7.953 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.6584, allocations: 0 / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.6585, allocations: 65.61 kB / 0.5951 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6585, allocations: 0 / 0.5951 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.6586, allocations: 0 / 0.5951 GB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6586, allocations: 3.938 kB / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.962e-05/0.6587, allocations: 23.98 kB / 0.5951 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.6591, allocations: 292.9 kB / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.6592, allocations: 58.62 kB / 0.5954 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.6593, allocations: 20.98 kB / 0.5954 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.6593, allocations: 0 / 0.5954 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.6595, allocations: 67.39 kB / 0.5955 GB, free: 9.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.6595, allocations: 4 kB / 0.5955 GB, free: 9.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005207/0.66, allocations: 161.1 kB / 0.5957 GB, free: 8.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.6601, allocations: 51.41 kB / 0.5957 GB, free: 8.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.6603, allocations: 183.7 kB / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.6603, allocations: 29.7 kB / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.6604, allocations: 104.1 kB / 0.596 GB, free: 8.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.6604, allocations: 27.64 kB / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.6604, allocations: 0 / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6606, allocations: 330.8 kB / 0.5964 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.6606, allocations: 16 kB / 0.5964 GB, free: 8.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.6607, allocations: 41.66 kB / 0.5964 GB, free: 8.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.6607, allocations: 19.98 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.6607, allocations: 0 / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001446/0.6609, allocations: 97.58 kB / 0.5965 GB, free: 8.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6609, allocations: 9.031 kB / 0.5965 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.6609, allocations: 0 / 0.5965 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.6609, allocations: 4 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.309e-05/0.661, allocations: 15.98 kB / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.661, allocations: 0 / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.6611, allocations: 12.03 kB / 0.5966 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.6611, allocations: 3.984 kB / 0.5966 GB, free: 7.969 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.578e-05/0.6612, allocations: 118.7 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.6612, allocations: 15.81 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.6615, allocations: 119.1 kB / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6615, allocations: 0 / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6615, allocations: 0 / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6615, allocations: 0 / 0.5968 GB, free: 7.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.662, allocations: 411.4 kB / 0.5972 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.662, allocations: 4 kB / 0.5972 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.662, allocations: 15.88 kB / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.662, allocations: 0 / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.662, allocations: 7.984 kB / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6621, allocations: 80 / 0.5972 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6621, allocations: 3.984 kB / 0.5972 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.6623, allocations: 229.8 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.6624, allocations: 89.02 kB / 0.5975 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.756e-05/0.6624, allocations: 7.984 kB / 0.5975 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.6625, allocations: 4 kB / 0.5975 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.6625, allocations: 7.953 kB / 0.5976 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.6626, allocations: 3.984 kB / 0.5976 GB, free: 6.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.6627, allocations: 156.9 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6627, allocations: 0 / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.6629, allocations: 35.94 kB / 0.5977 GB, free: 6.652 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.001384/0.6643, allocations: 1.127 MB / 0.5988 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.6645, allocations: 63.92 kB / 0.5989 GB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6645, allocations: 0 / 0.5989 GB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.623e-05/0.6646, allocations: 35.88 kB / 0.5989 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.6648, allocations: 35.98 kB / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.6654, allocations: 229 kB / 0.5992 GB, free: 5.227 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.6657, allocations: 0.7082 MB / 0.5999 GB, free: 4.492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.768e-05/0.6658, allocations: 24.64 kB / 0.5999 GB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.6659, allocations: 39.42 kB / 0.5999 GB, free: 4.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6659, allocations: 0 / 0.5999 GB, free: 4.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.6802, allocations: 3.073 MB / 0.6029 GB, free: 1.449 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.6806, allocations: 192 kB / 0.6031 GB, free: 1.215 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/2.487, allocations: 0 / 0.6031 GB, free: 1.215 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat