Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84",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.00102/0.00102, allocations: 173.8 kB / 8.515 MB, free: 1.828 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.401/1.401, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.000961/0.0009611, allocations: 91.59 kB / 281.2 MB, free: 5.527 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.1964/0.1964, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2546/0.451, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.5852, allocations: 61.92 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.9555, allocations: 88.75 MB / 0.5809 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.9559, allocations: 75.94 kB / 0.5809 GB, free: 7.926 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.02328/0.9792, allocations: 8.02 MB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9792, allocations: 11.94 kB / 0.5888 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.9793, allocations: 7.906 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.9796, allocations: 202.9 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.9796, allocations: 4 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.9797, allocations: 0 / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.89e-05/0.9798, allocations: 20 kB / 0.589 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.9799, allocations: 71.23 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.9799, allocations: 0 / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.9799, allocations: 7.984 kB / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9799, allocations: 0 / 0.5891 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.9803, allocations: 265.4 kB / 0.5893 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.9804, allocations: 46.69 kB / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.9805, allocations: 24.97 kB / 0.5894 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.9805, allocations: 3.938 kB / 0.5894 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.212e-05/0.9806, allocations: 63.41 kB / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.507e-06/0.9806, allocations: 0 / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004272/0.9811, allocations: 129.3 kB / 0.5896 GB, free: 14.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.9811, allocations: 81.11 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.9813, allocations: 143.4 kB / 0.5898 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.9813, allocations: 29.7 kB / 0.5898 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.9813, allocations: 96.06 kB / 0.5899 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.9814, allocations: 27.64 kB / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.9814, allocations: 0 / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.9815, allocations: 318.8 kB / 0.5902 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.9815, allocations: 15.98 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-05/0.9816, allocations: 34.58 kB / 0.5903 GB, free: 14.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.9816, allocations: 28.02 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.9816, allocations: 0 / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001482/0.9818, allocations: 97.59 kB / 0.5904 GB, free: 14.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.9818, allocations: 4 kB / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9818, allocations: 192 / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.9818, allocations: 0 / 0.5904 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.982, allocations: 27.83 kB / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.982, allocations: 0 / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.982, allocations: 4 kB / 0.5905 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.982, allocations: 4.031 kB / 0.5905 GB, free: 13.97 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 8.728e-05/0.9821, allocations: 105 kB / 0.5906 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.9822, allocations: 7.906 kB / 0.5906 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.9824, allocations: 106 kB / 0.5907 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.9824, allocations: 0 / 0.5907 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9824, allocations: 0 / 0.5907 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.9824, allocations: 0 / 0.5907 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003941/0.9828, allocations: 367.8 kB / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9828, allocations: 3.984 kB / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.9829, allocations: 8 kB / 0.591 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.9829, allocations: 4 kB / 0.591 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.9829, allocations: 0 / 0.591 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.9829, allocations: 3.938 kB / 0.591 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9829, allocations: 0 / 0.591 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002037/0.9831, allocations: 206 kB / 0.5912 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003958/0.9835, allocations: 0.5764 MB / 0.5918 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.9836, allocations: 89 kB / 0.5919 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.9837, allocations: 7.938 kB / 0.5919 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.9837, allocations: 4 kB / 0.5919 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.9838, allocations: 11.98 kB / 0.5919 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.9838, allocations: 192 / 0.5919 GB, free: 12.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.981e-05/0.9839, allocations: 118.1 kB / 0.592 GB, free: 12.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009476/0.9849, allocations: 59.75 kB / 0.5921 GB, free: 12.18 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.0008648/0.9858, allocations: 378.5 kB / 0.5924 GB, free: 11.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.9859, allocations: 63.92 kB / 0.5925 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9859, allocations: 0 / 0.5925 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/0.986, allocations: 24 kB / 0.5925 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.9863, allocations: 19.98 kB / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.9867, allocations: 136.6 kB / 0.5927 GB, free: 11.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/0.9871, allocations: 0.7193 MB / 0.5934 GB, free: 10.87 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9871, allocations: 0 / 0.5934 GB, free: 10.87 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat