Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",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 trunk/package.mo): time 0.0009923/0.0009923, allocations: 197.5 kB / 8.539 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.095/1.095, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008382/0.0008382, allocations: 95.64 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1537/0.1537, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1823/0.3361, allocations: 69.39 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08194/0.418, allocations: 63.23 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.6568, allocations: 90.03 MB / 0.5918 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.6571, allocations: 73.83 kB / 0.5919 GB, free: 12.75 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.02832/0.6854, allocations: 13.39 MB / 0.6049 GB, free: 2.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.6855, allocations: 8 kB / 0.6049 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.6855, allocations: 15.81 kB / 0.605 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.6859, allocations: 261 kB / 0.6052 GB, free: 1.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.6859, allocations: 4 kB / 0.6052 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.686, allocations: 7.984 kB / 0.6052 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.964e-05/0.686, allocations: 22.44 kB / 0.6052 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.6862, allocations: 99.39 kB / 0.6053 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.6862, allocations: 0 / 0.6053 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.6862, allocations: 7.734 kB / 0.6053 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.6862, allocations: 4 kB / 0.6053 GB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.6864, allocations: 196.6 kB / 0.6055 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.6865, allocations: 94.97 kB / 0.6056 GB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.6866, allocations: 36.53 kB / 0.6057 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.6866, allocations: 4 kB / 0.6057 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.6867, allocations: 99.81 kB / 0.6058 GB, free: 1.289 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.6868, allocations: 0 / 0.6058 GB, free: 1.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002325/0.687, allocations: 113.7 kB / 0.6059 GB, free: 1.188 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.6871, allocations: 136.5 kB / 0.606 GB, free: 1.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.6873, allocations: 218.7 kB / 0.6062 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.6873, allocations: 25.7 kB / 0.6062 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.6873, allocations: 98.5 kB / 0.6063 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.6874, allocations: 18.66 kB / 0.6063 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.6874, allocations: 0 / 0.6063 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.6875, allocations: 336.8 kB / 0.6067 GB, free: 380 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.6875, allocations: 18.06 kB / 0.6067 GB, free: 368 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.6876, allocations: 70.89 kB / 0.6067 GB, free: 292 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.444e-05/0.6876, allocations: 30.48 kB / 0.6068 GB, free: 272 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6876, allocations: 0 / 0.6068 GB, free: 272 kB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001783/0.6878, allocations: 118.4 kB / 0.6069 GB, free: 164 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.6878, allocations: 11.22 kB / 0.6069 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6878, allocations: 4 kB / 0.6069 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.6879, allocations: 4.094 kB / 0.6069 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.688, allocations: 27.73 kB / 0.6069 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.688, allocations: 0 / 0.6069 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.83e-05/0.6881, allocations: 19.83 kB / 0.607 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6881, allocations: 4 kB / 0.607 GB, free: 100 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.566e-05/0.6882, allocations: 116.9 kB / 0.6071 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.6882, allocations: 19.72 kB / 0.6071 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.6884, allocations: 132.5 kB / 0.6072 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6885, allocations: 4 kB / 0.6072 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6885, allocations: 0 / 0.6072 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.6885, allocations: 3.938 kB / 0.6072 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.6886, allocations: 217.5 kB / 0.6074 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6887, allocations: 3.938 kB / 0.6074 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.6887, allocations: 8 kB / 0.6074 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6887, allocations: 0 / 0.6074 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.6887, allocations: 7.984 kB / 0.6074 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6887, allocations: 0 / 0.6074 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6887, allocations: 0 / 0.6074 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001972/0.6889, allocations: 165.6 kB / 0.6076 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003135/0.6893, allocations: 0.5518 MB / 0.6081 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.6894, allocations: 108 kB / 0.6082 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.6894, allocations: 0 / 0.6082 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.294e-05/0.6895, allocations: 11.67 kB / 0.6083 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.6895, allocations: 4 kB / 0.6083 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.6895, allocations: 8.109 kB / 0.6083 GB, free: 14.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001372/0.6897, allocations: 175.9 kB / 0.6084 GB, free: 14.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008377/0.6905, allocations: 74.39 kB / 0.6085 GB, free: 14.53 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007307/0.6913, allocations: 413.4 kB / 0.6089 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.6914, allocations: 78.36 kB / 0.609 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6915, allocations: 0 / 0.609 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.6915, allocations: 34.56 kB / 0.609 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.6918, allocations: 48.12 kB / 0.6091 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.6922, allocations: 200.7 kB / 0.6092 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.6926, allocations: 0.7563 MB / 0.61 GB, free: 13.11 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6926, allocations: 0 / 0.61 GB, free: 13.11 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat