Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001164, allocations: 183 kB / 8.524 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.4 MB / 230.3 MB, free: 7.621 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.001047/0.001047, allocations: 91.3 kB / 281.2 MB, free: 5.43 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.2048/0.2048, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2698/0.4747, allocations: 68.03 MB / 444.1 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.6, allocations: 61.92 MB / 0.4942 GB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.9514, allocations: 88.54 MB / 0.5807 GB, free: 8.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.9516, allocations: 72.62 kB / 0.5807 GB, free: 8.035 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01731/0.9689, allocations: 6.058 MB / 0.5866 GB, free: 1.949 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.969, allocations: 11.94 kB / 0.5867 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.9691, allocations: 15.8 kB / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.9694, allocations: 231.5 kB / 0.5869 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.9695, allocations: 0 / 0.5869 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.9695, allocations: 11.94 kB / 0.5869 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.879e-05/0.9696, allocations: 16 kB / 0.5869 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.9697, allocations: 57.58 kB / 0.587 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.9697, allocations: 4 kB / 0.587 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.9698, allocations: 0 / 0.587 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.9698, allocations: 0 / 0.587 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.9703, allocations: 297.3 kB / 0.5873 GB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.9706, allocations: 45.64 kB / 0.5873 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.9706, allocations: 16.98 kB / 0.5873 GB, free: 1.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.9707, allocations: 3.984 kB / 0.5873 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.9708, allocations: 71.47 kB / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.083e-06/0.9708, allocations: 0 / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000757/0.9716, allocations: 181 kB / 0.5876 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.9716, allocations: 55.41 kB / 0.5876 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.9719, allocations: 217.1 kB / 0.5878 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.972, allocations: 25.7 kB / 0.5878 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.972, allocations: 96.06 kB / 0.5879 GB, free: 488 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.276e-05/0.9721, allocations: 39.45 kB / 0.588 GB, free: 448 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.465e-06/0.9722, allocations: 0.75 kB / 0.588 GB, free: 448 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.9723, allocations: 326.8 kB / 0.5883 GB, free: 112 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.9724, allocations: 31.98 kB / 0.5883 GB, free: 80 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.464e-05/0.9725, allocations: 41.91 kB / 0.5884 GB, free: 32 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.9725, allocations: 27.92 kB / 0.5884 GB, free: 4 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.9725, allocations: 0 / 0.5884 GB, free: 4 kB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002371/0.9728, allocations: 121.5 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.9728, allocations: 5.094 kB / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9728, allocations: 3.938 kB / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.9728, allocations: 0 / 0.5885 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.973, allocations: 28.03 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.973, allocations: 0 / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.513e-05/0.973, allocations: 3.984 kB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.9731, allocations: 7.906 kB / 0.5885 GB, free: 15.83 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 0.0001212/0.9732, allocations: 108.9 kB / 0.5887 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.9732, allocations: 15.81 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.9735, allocations: 131.3 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.9735, allocations: 3.984 kB / 0.5888 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.9735, allocations: 8 kB / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.9735, allocations: 0 / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.9741, allocations: 436.5 kB / 0.5892 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9741, allocations: 0 / 0.5892 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.9742, allocations: 15.98 kB / 0.5892 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.9742, allocations: 4 kB / 0.5892 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.9742, allocations: 4.062 kB / 0.5892 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.9742, allocations: 4 kB / 0.5892 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.9742, allocations: 0 / 0.5892 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002531/0.9745, allocations: 256.3 kB / 0.5895 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004844/0.975, allocations: 0.6083 MB / 0.5901 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.961e-05/0.9751, allocations: 104.9 kB / 0.5902 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.9751, allocations: 3.906 kB / 0.5902 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.9752, allocations: 8 kB / 0.5902 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.9753, allocations: 7.984 kB / 0.5902 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.9753, allocations: 4 kB / 0.5902 GB, free: 13.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001974/0.9755, allocations: 172.4 kB / 0.5904 GB, free: 13.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001025/0.9766, allocations: 47.88 kB / 0.5904 GB, free: 13.77 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.0008331/0.9774, allocations: 392.1 kB / 0.5908 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.9776, allocations: 67.94 kB / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9776, allocations: 64 / 0.5909 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.9777, allocations: 43.92 kB / 0.5909 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.978, allocations: 30.19 kB / 0.5909 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.9785, allocations: 220.9 kB / 0.5911 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.9789, allocations: 0.7505 MB / 0.5919 GB, free: 12.31 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9789, allocations: 0 / 0.5919 GB, free: 12.31 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat