Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29",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.001033/0.001033, allocations: 195.1 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.079/1.079, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008204/0.0008204, allocations: 100.2 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1553/0.1553, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/0.3347, allocations: 69.38 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07663/0.4113, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.649, allocations: 89.96 MB / 0.5917 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.6492, allocations: 73.7 kB / 0.5918 GB, free: 12.81 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.01649/0.6657, allocations: 6.495 MB / 0.5981 GB, free: 7.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.6658, allocations: 8 kB / 0.5981 GB, free: 7.391 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.6658, allocations: 19.81 kB / 0.5982 GB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.6661, allocations: 213.1 kB / 0.5984 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6661, allocations: 4 kB / 0.5984 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.6662, allocations: 3.906 kB / 0.5984 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.622e-05/0.6662, allocations: 23.11 kB / 0.5984 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.112e-05/0.6663, allocations: 52.78 kB / 0.5984 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.6663, allocations: 0 / 0.5984 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.6664, allocations: 0 / 0.5984 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6664, allocations: 0 / 0.5984 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.6667, allocations: 277.6 kB / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.6668, allocations: 60 kB / 0.5988 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.6669, allocations: 16.8 kB / 0.5988 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.6669, allocations: 0 / 0.5988 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.209e-05/0.667, allocations: 70.08 kB / 0.5989 GB, free: 6.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.667, allocations: 0 / 0.5989 GB, free: 6.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000376/0.6674, allocations: 134.8 kB / 0.599 GB, free: 6.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.6674, allocations: 55.41 kB / 0.599 GB, free: 6.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.6676, allocations: 178.8 kB / 0.5992 GB, free: 6.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.6676, allocations: 25.7 kB / 0.5992 GB, free: 6.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.6676, allocations: 91.75 kB / 0.5993 GB, free: 6.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.6677, allocations: 23.34 kB / 0.5993 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.6677, allocations: 0 / 0.5993 GB, free: 6.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6678, allocations: 334.8 kB / 0.5997 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.6678, allocations: 15.44 kB / 0.5997 GB, free: 5.797 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.006e-05/0.6679, allocations: 30.72 kB / 0.5997 GB, free: 5.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.6679, allocations: 27.78 kB / 0.5997 GB, free: 5.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.6679, allocations: 0 / 0.5997 GB, free: 5.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000148/0.6681, allocations: 95.69 kB / 0.5998 GB, free: 5.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.6681, allocations: 8 kB / 0.5998 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.6681, allocations: 4.031 kB / 0.5998 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.6681, allocations: 0 / 0.5998 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/0.6682, allocations: 15.98 kB / 0.5998 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.6683, allocations: 4 kB / 0.5998 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.6683, allocations: 0 / 0.5998 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.6683, allocations: 4 kB / 0.5999 GB, free: 5.629 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 (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.635e-05/0.6684, allocations: 112.8 kB / 0.6 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.6684, allocations: 7.906 kB / 0.6 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.6686, allocations: 118.5 kB / 0.6001 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6687, allocations: 0 / 0.6001 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6687, allocations: 0 / 0.6001 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.6687, allocations: 0 / 0.6001 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.6691, allocations: 371.4 kB / 0.6004 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6691, allocations: 3.938 kB / 0.6004 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.6691, allocations: 8 kB / 0.6004 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.6691, allocations: 4 kB / 0.6005 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.6692, allocations: 8.016 kB / 0.6005 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.6692, allocations: 0 / 0.6005 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6692, allocations: 0 / 0.6005 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001921/0.6694, allocations: 205.8 kB / 0.6007 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003238/0.6697, allocations: 0.5796 MB / 0.6012 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.6698, allocations: 92.92 kB / 0.6013 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.6698, allocations: 3.719 kB / 0.6013 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.58e-05/0.6699, allocations: 7.984 kB / 0.6013 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.6699, allocations: 8.125 kB / 0.6013 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.6699, allocations: 11.84 kB / 0.6013 GB, free: 4.066 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001071/0.6701, allocations: 150.6 kB / 0.6015 GB, free: 3.941 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009464/0.671, allocations: 35.86 kB / 0.6015 GB, free: 3.91 MB / 394.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.0006543/0.6717, allocations: 330 kB / 0.6018 GB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.6718, allocations: 60.11 kB / 0.6019 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.6718, allocations: 0 / 0.6019 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.6719, allocations: 37.78 kB / 0.6019 GB, free: 3.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.6721, allocations: 19.05 kB / 0.6019 GB, free: 3.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.6725, allocations: 157 kB / 0.6021 GB, free: 3.402 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.6728, allocations: 0.7305 MB / 0.6028 GB, free: 2.648 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.6728, allocations: 0 / 0.6028 GB, free: 2.648 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat