Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.001528/0.001528, allocations: 180.7 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.568/1.568, allocations: 221.3 MB / 236 MB, free: 2.949 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.001058/0.001058, allocations: 89.73 kB / 287 MB, free: 264 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.2558/0.2558, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.794e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4815/0.6534, allocations: 89.27 MB / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.6537, allocations: 79.89 kB / 0.5891 GB, free: 15.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.6708, allocations: 5.995 MB / 0.5949 GB, free: 9.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.6708, allocations: 4 kB / 0.5949 GB, free: 9.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.6709, allocations: 0 / 0.5949 GB, free: 9.906 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005739/0.6714, allocations: 414.1 kB / 0.5953 GB, free: 9.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.247e-05/0.6715, allocations: 8.031 kB / 0.5953 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.6716, allocations: 38.55 kB / 0.5954 GB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.6716, allocations: 15.75 kB / 0.5954 GB, free: 9.387 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.672, allocations: 226.7 kB / 0.5956 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.672, allocations: 15.89 kB / 0.5956 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.6721, allocations: 4 kB / 0.5956 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.6722, allocations: 57.67 kB / 0.5957 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6722, allocations: 0 / 0.5957 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.6722, allocations: 4 kB / 0.5957 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6723, allocations: 0 / 0.5957 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.6723, allocations: 23.98 kB / 0.5957 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.6728, allocations: 308.8 kB / 0.596 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.6731, allocations: 66.55 kB / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.6731, allocations: 16.98 kB / 0.5961 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.6732, allocations: 4 kB / 0.5961 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.6733, allocations: 67.45 kB / 0.5961 GB, free: 8.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.6733, allocations: 0 / 0.5961 GB, free: 8.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006162/0.674, allocations: 213.1 kB / 0.5963 GB, free: 8.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.674, allocations: 55.34 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.6743, allocations: 209.6 kB / 0.5966 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.6743, allocations: 33.69 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.581e-05/0.6744, allocations: 104.1 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.6744, allocations: 35.48 kB / 0.5968 GB, free: 7.809 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.197e-06/0.6745, allocations: 4 kB / 0.5968 GB, free: 7.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6746, allocations: 322.8 kB / 0.5971 GB, free: 7.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.693e-05/0.6747, allocations: 35.98 kB / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.6748, allocations: 43.22 kB / 0.5971 GB, free: 7.398 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.6748, allocations: 31.98 kB / 0.5972 GB, free: 7.367 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.6748, allocations: 0 / 0.5972 GB, free: 7.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001917/0.675, allocations: 124.2 kB / 0.5973 GB, free: 7.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6751, allocations: 8.938 kB / 0.5973 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6751, allocations: 0 / 0.5973 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6751, allocations: 0 / 0.5973 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.6752, allocations: 32.02 kB / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.6752, allocations: 3.938 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.076e-05/0.6753, allocations: 4 kB / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.6753, allocations: 3.953 kB / 0.5973 GB, free: 7.191 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 8.509e-05/0.6754, allocations: 112.9 kB / 0.5974 GB, free: 7.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.6754, allocations: 15.81 kB / 0.5975 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.6757, allocations: 143.6 kB / 0.5976 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.6757, allocations: 0 / 0.5976 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6757, allocations: 4 kB / 0.5976 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6757, allocations: 4 kB / 0.5976 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.6764, allocations: 476 kB / 0.5981 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6764, allocations: 0 / 0.5981 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.6765, allocations: 19.92 kB / 0.5981 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6765, allocations: 0 / 0.5981 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.6765, allocations: 4 kB / 0.5981 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.6765, allocations: 8.016 kB / 0.5981 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.6765, allocations: 4 kB / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.6769, allocations: 252.4 kB / 0.5983 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.723e-05/0.677, allocations: 100.9 kB / 0.5984 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.677, allocations: 12 kB / 0.5984 GB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/0.6771, allocations: 3.984 kB / 0.5984 GB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.6772, allocations: 15.94 kB / 0.5985 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.6772, allocations: 7.984 kB / 0.5985 GB, free: 5.902 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.6774, allocations: 164.3 kB / 0.5986 GB, free: 5.742 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6774, allocations: 0 / 0.5986 GB, free: 5.742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000327/0.6778, allocations: 43.94 kB / 0.5987 GB, free: 5.699 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002084/0.6798, allocations: 1.302 MB / 0.5999 GB, free: 4.492 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.6801, allocations: 83.86 kB / 0.6 GB, free: 4.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6801, allocations: 0 / 0.6 GB, free: 4.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.5e-05/0.6802, allocations: 43.94 kB / 0.6001 GB, free: 4.367 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.6806, allocations: 28.31 kB / 0.6001 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.6813, allocations: 282.2 kB / 0.6004 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.6817, allocations: 0.724 MB / 0.6011 GB, free: 3.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.693e-05/0.6817, allocations: 24.55 kB / 0.6011 GB, free: 3.246 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.956e-05/0.6818, allocations: 43.41 kB / 0.6011 GB, free: 3.203 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6818, allocations: 0 / 0.6011 GB, free: 3.203 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.7005, allocations: 3.528 MB / 0.6046 GB, free: 15.77 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003192/0.7009, allocations: 196 kB / 0.6048 GB, free: 15.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.425, allocations: 0 / 0.6048 GB, free: 15.53 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat