Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.000989/0.0009889, 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.371/1.371, allocations: 221.5 MB / 230.7 MB, free: 7.586 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.0008946/0.0008946, allocations: 94.48 kB / 281.6 MB, free: 5.336 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.208/0.208, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.04e-05/3.059e-05, allocations: 8.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1846, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4392/0.6238, allocations: 88.78 MB / 0.5815 GB, free: 7.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.6241, allocations: 71.97 kB / 0.5815 GB, free: 7.516 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01558/0.6397, allocations: 5.843 MB / 0.5873 GB, free: 1.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.6397, allocations: 0.75 kB / 0.5873 GB, free: 1.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.6398, allocations: 4 kB / 0.5873 GB, free: 1.688 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.0004883/0.6403, allocations: 386.2 kB / 0.5876 GB, free: 1.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.6403, allocations: 19.97 kB / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.6404, allocations: 7.906 kB / 0.5877 GB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.6407, allocations: 208.2 kB / 0.5878 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.6407, allocations: 0 / 0.5878 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.6408, allocations: 7.984 kB / 0.5879 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.084e-05/0.6408, allocations: 19.88 kB / 0.5879 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.641, allocations: 67.39 kB / 0.5879 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.641, allocations: 3.938 kB / 0.5879 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.641, allocations: 0 / 0.5879 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.641, allocations: 0 / 0.5879 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.6414, allocations: 269.5 kB / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.6415, allocations: 50.62 kB / 0.5882 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.6416, allocations: 16.98 kB / 0.5883 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.6416, allocations: 8 kB / 0.5883 GB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/0.6417, allocations: 63.39 kB / 0.5883 GB, free: 436 kB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.6417, allocations: 0 / 0.5883 GB, free: 436 kB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000444/0.6422, allocations: 141.2 kB / 0.5885 GB, free: 288 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.6423, allocations: 85.09 kB / 0.5885 GB, free: 184 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.6424, allocations: 139 kB / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.6424, allocations: 29.7 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.6425, allocations: 96.12 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.6425, allocations: 23.66 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.6426, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6427, allocations: 326.8 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.6427, allocations: 12 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.611e-05/0.6428, allocations: 42.56 kB / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.6428, allocations: 16 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6428, allocations: 0 / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.643, allocations: 101.5 kB / 0.5893 GB, free: 15.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.643, allocations: 9.469 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.643, allocations: 192 / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6431, allocations: 0 / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.6432, allocations: 20 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6432, allocations: 0 / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.6432, allocations: 11.91 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.6433, allocations: 4 kB / 0.5893 GB, free: 15.32 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.919e-05/0.6433, allocations: 111.6 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001427/0.6435, allocations: 93.58 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.6435, allocations: 11.91 kB / 0.5896 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.6437, allocations: 110.3 kB / 0.5897 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6437, allocations: 0 / 0.5897 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6437, allocations: 0 / 0.5897 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.6437, allocations: 7.938 kB / 0.5897 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.6441, allocations: 372 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6441, allocations: 0 / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.6442, allocations: 12.03 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6442, allocations: 4 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.6442, allocations: 3.984 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6442, allocations: 7.953 kB / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6442, allocations: 0 / 0.59 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.6444, allocations: 210.1 kB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.6445, allocations: 85.02 kB / 0.5903 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.6445, allocations: 11.94 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.6446, allocations: 4 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.6447, allocations: 8 kB / 0.5904 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6447, allocations: 3.984 kB / 0.5904 GB, free: 14.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.6448, allocations: 121.4 kB / 0.5905 GB, free: 14.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6448, allocations: 0 / 0.5905 GB, free: 14.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.6451, allocations: 35.94 kB / 0.5905 GB, free: 14.04 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.001428/0.6465, allocations: 1.146 MB / 0.5916 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.6467, allocations: 59.94 kB / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6467, allocations: 0 / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.6467, allocations: 23.98 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.647, allocations: 19.98 kB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.6475, allocations: 199.2 kB / 0.5919 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6479, allocations: 0.708 MB / 0.5926 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.6479, allocations: 20.84 kB / 0.5926 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.648, allocations: 31.42 kB / 0.5927 GB, free: 11.82 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.648, allocations: 0 / 0.5927 GB, free: 11.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.6699, allocations: 2.749 MB / 0.5953 GB, free: 9.082 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/0.6702, allocations: 162.7 kB / 0.5955 GB, free: 8.895 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.238, allocations: 0 / 0.5955 GB, free: 8.895 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat does not exist to compare? outputFormat=mat