Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001467/0.001468, 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.384/1.384, allocations: 221.5 MB / 230.7 MB, free: 7.59 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.0008831/0.0008831, allocations: 94.89 kB / 281.6 MB, free: 5.34 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.1942/0.1942, allocations: 44.15 MB / 376.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.788e-05, allocations: 8.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 61.91 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5534, allocations: 88.78 MB / 0.5815 GB, free: 7.613 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.5537, allocations: 78.27 kB / 0.5815 GB, free: 7.539 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02208/0.5758, allocations: 5.84 MB / 0.5872 GB, free: 1.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5759, allocations: 2.953 kB / 0.5873 GB, free: 1.711 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.5759, allocations: 8 kB / 0.5873 GB, free: 1.703 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.000516/0.5764, allocations: 386.2 kB / 0.5876 GB, free: 1.281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5765, allocations: 15.98 kB / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.5765, allocations: 7.906 kB / 0.5876 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.5769, allocations: 212.9 kB / 0.5879 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5769, allocations: 0 / 0.5879 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.577, allocations: 4 kB / 0.5879 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.704e-05/0.5771, allocations: 19.92 kB / 0.5879 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.5772, allocations: 71.39 kB / 0.5879 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5773, allocations: 3.938 kB / 0.5879 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5773, allocations: 0 / 0.5879 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5773, allocations: 0 / 0.5879 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.5777, allocations: 257.5 kB / 0.5882 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.5779, allocations: 62.61 kB / 0.5883 GB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.759e-05/0.5779, allocations: 16.98 kB / 0.5883 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.578, allocations: 4 kB / 0.5883 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.5781, allocations: 63.39 kB / 0.5883 GB, free: 456 kB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/0.5781, allocations: 0 / 0.5883 GB, free: 456 kB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005624/0.5787, allocations: 141.2 kB / 0.5885 GB, free: 308 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.5788, allocations: 81.11 kB / 0.5885 GB, free: 208 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.579, allocations: 144.8 kB / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.579, allocations: 25.7 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.5791, allocations: 92.14 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.83e-05/0.5792, allocations: 27.64 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.5792, allocations: 0 / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5793, allocations: 326.8 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.125e-05/0.5794, allocations: 16 kB / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.5795, allocations: 38.58 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.029e-05/0.5795, allocations: 27.97 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.5796, allocations: 3.938 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002128/0.5798, allocations: 85.59 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5798, allocations: 5.406 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5798, allocations: 192 / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.5798, allocations: 192 / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.58, allocations: 27.92 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.58, allocations: 3.938 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.5801, allocations: 8.062 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.5801, allocations: 4 kB / 0.5893 GB, free: 15.34 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.771e-05/0.5802, allocations: 114.8 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001956/0.5804, allocations: 85.59 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.5805, allocations: 7.906 kB / 0.5895 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.5808, allocations: 114.1 kB / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5808, allocations: 0 / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5808, allocations: 0 / 0.5897 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.5808, allocations: 7.953 kB / 0.5897 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.5813, allocations: 371.8 kB / 0.59 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5814, allocations: 4 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.269e-05/0.5814, allocations: 8 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5814, allocations: 0 / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.5815, allocations: 0 / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.5815, allocations: 7.953 kB / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5815, allocations: 320 / 0.59 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.5818, allocations: 210.2 kB / 0.5902 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.5819, allocations: 93 kB / 0.5903 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.5819, allocations: 3.953 kB / 0.5903 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.5821, allocations: 7.984 kB / 0.5903 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.5821, allocations: 4 kB / 0.5903 GB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.5821, allocations: 3.938 kB / 0.5903 GB, free: 14.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.5823, allocations: 123.3 kB / 0.5905 GB, free: 14.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5823, allocations: 0 / 0.5905 GB, free: 14.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000485/0.5828, allocations: 39.92 kB / 0.5905 GB, free: 14.06 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.001892/0.5847, allocations: 1.144 MB / 0.5916 GB, free: 12.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.5849, allocations: 59.92 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5849, allocations: 0 / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.585, allocations: 24 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.5853, allocations: 28.09 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.586, allocations: 199.2 kB / 0.5919 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.5864, allocations: 0.7079 MB / 0.5926 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.066e-05/0.5865, allocations: 20.83 kB / 0.5926 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.139e-05/0.5866, allocations: 43.36 kB / 0.5927 GB, free: 11.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5866, allocations: 0 / 0.5927 GB, free: 11.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.612, allocations: 2.744 MB / 0.5953 GB, free: 9.098 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.6122, allocations: 163.7 kB / 0.5955 GB, free: 8.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.281, allocations: 0 / 0.5955 GB, free: 8.91 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat