Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62",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.0009846/0.0009845, allocations: 200.4 kB / 8.542 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.101/1.101, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008276/0.0008276, allocations: 93.05 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1542/0.1542, allocations: 45.14 MB / 383.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1811/0.3353, allocations: 69.38 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07942/0.4148, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.6521, allocations: 89.78 MB / 0.5916 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.6523, allocations: 71.78 kB / 0.5916 GB, free: 13.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01637/0.6687, allocations: 6.65 MB / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6688, allocations: 11.94 kB / 0.5981 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.6688, allocations: 15.81 kB / 0.5981 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.6691, allocations: 234.8 kB / 0.5984 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6692, allocations: 4 kB / 0.5984 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.6692, allocations: 3.75 kB / 0.5984 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.81e-05/0.6692, allocations: 11.69 kB / 0.5984 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.363e-05/0.6693, allocations: 48.98 kB / 0.5984 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.6693, allocations: 0 / 0.5984 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.6693, allocations: 4 kB / 0.5984 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.6694, allocations: 0 / 0.5984 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.6695, allocations: 171.8 kB / 0.5986 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.078e-05/0.6696, allocations: 49.7 kB / 0.5986 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.6697, allocations: 20 kB / 0.5987 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.6697, allocations: 4 kB / 0.5987 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.007e-05/0.6698, allocations: 58.09 kB / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.6698, allocations: 0 / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001734/0.67, allocations: 70.88 kB / 0.5988 GB, free: 6.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.67, allocations: 55.38 kB / 0.5988 GB, free: 6.633 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.6702, allocations: 235.2 kB / 0.5991 GB, free: 6.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.6703, allocations: 29.64 kB / 0.5991 GB, free: 6.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.6703, allocations: 107.1 kB / 0.5992 GB, free: 6.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.6703, allocations: 11.75 kB / 0.5992 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.6703, allocations: 0 / 0.5992 GB, free: 6.285 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.6704, allocations: 335.8 kB / 0.5995 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.6705, allocations: 7.812 kB / 0.5995 GB, free: 5.953 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.272e-05/0.6705, allocations: 28.89 kB / 0.5996 GB, free: 5.922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.6705, allocations: 10.69 kB / 0.5996 GB, free: 5.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6706, allocations: 8 kB / 0.5996 GB, free: 5.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00011/0.6707, allocations: 80.98 kB / 0.5997 GB, free: 5.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.6707, allocations: 4 kB / 0.5997 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.6707, allocations: 0 / 0.5997 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.6707, allocations: 4 kB / 0.5997 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.6708, allocations: 11.06 kB / 0.5997 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.6708, allocations: 0 / 0.5997 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.6708, allocations: 7.906 kB / 0.5997 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.6709, allocations: 0 / 0.5997 GB, free: 5.809 MB / 394.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 (7): * Single equations (assignments): 7 * 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 6.219e-05/0.6709, allocations: 113 kB / 0.5998 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.671, allocations: 15.81 kB / 0.5998 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.6711, allocations: 88.48 kB / 0.5999 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6711, allocations: 0 / 0.5999 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.6711, allocations: 0 / 0.5999 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.6711, allocations: 0 / 0.5999 GB, free: 5.594 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.6713, allocations: 191.2 kB / 0.6001 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6713, allocations: 0 / 0.6001 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.6713, allocations: 7.984 kB / 0.6001 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.6713, allocations: 0 / 0.6001 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.6713, allocations: 8 kB / 0.6001 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.6713, allocations: 0 / 0.6001 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6713, allocations: 3.984 kB / 0.6001 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001218/0.6715, allocations: 100.9 kB / 0.6002 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002157/0.6717, allocations: 493.4 kB / 0.6007 GB, free: 4.773 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.6718, allocations: 104.7 kB / 0.6008 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.6718, allocations: 0 / 0.6008 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.804e-05/0.6719, allocations: 4 kB / 0.6008 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.6719, allocations: 3.984 kB / 0.6008 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.6719, allocations: 7.906 kB / 0.6008 GB, free: 4.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001484/0.6721, allocations: 193 kB / 0.601 GB, free: 4.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007442/0.6728, allocations: 31.25 kB / 0.601 GB, free: 4.461 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00055/0.6734, allocations: 325.1 kB / 0.6013 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.44e-05/0.6735, allocations: 34.38 kB / 0.6013 GB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.6735, allocations: 4 kB / 0.6013 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.548e-05/0.6735, allocations: 18.75 kB / 0.6014 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.6737, allocations: 24.91 kB / 0.6014 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.6741, allocations: 208.4 kB / 0.6016 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.6744, allocations: 0.7425 MB / 0.6023 GB, free: 3.176 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6744, allocations: 0 / 0.6023 GB, free: 3.176 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat