Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",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.0009811/0.0009811, allocations: 198.6 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.1/1.1, allocations: 225.5 MB / 234.4 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008222/0.0008222, allocations: 90.38 kB / 286.3 MB, free: 5.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1619/0.1619, allocations: 45.15 MB / 383.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1818/0.3437, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07559/0.4193, allocations: 63.25 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2403/0.6596, allocations: 89.96 MB / 0.5917 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.6599, allocations: 71.64 kB / 0.5918 GB, free: 12.84 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.01678/0.6766, allocations: 6.628 MB / 0.5983 GB, free: 7.312 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.6767, allocations: 8 kB / 0.5983 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.6767, allocations: 19.81 kB / 0.5983 GB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.677, allocations: 225.1 kB / 0.5985 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.6771, allocations: 0 / 0.5985 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.6771, allocations: 7.984 kB / 0.5985 GB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.082e-05/0.6772, allocations: 17.44 kB / 0.5985 GB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.371e-05/0.6772, allocations: 48.67 kB / 0.5986 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.6773, allocations: 4 kB / 0.5986 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.6773, allocations: 0 / 0.5986 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.6773, allocations: 0 / 0.5986 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.6776, allocations: 286.4 kB / 0.5989 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.741e-05/0.6777, allocations: 53.27 kB / 0.5989 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.6778, allocations: 20.66 kB / 0.5989 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.6778, allocations: 0 / 0.5989 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.267e-05/0.6779, allocations: 65.75 kB / 0.599 GB, free: 6.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.6779, allocations: 3.938 kB / 0.599 GB, free: 6.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003698/0.6782, allocations: 138.2 kB / 0.5991 GB, free: 6.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.6783, allocations: 51.41 kB / 0.5992 GB, free: 6.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.6785, allocations: 195.9 kB / 0.5994 GB, free: 6.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.6785, allocations: 33.14 kB / 0.5994 GB, free: 6.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.6786, allocations: 91.62 kB / 0.5995 GB, free: 6.035 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.6786, allocations: 27.08 kB / 0.5995 GB, free: 6.012 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.6786, allocations: 0 / 0.5995 GB, free: 6.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6787, allocations: 329 kB / 0.5998 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.429e-05/0.6788, allocations: 18.5 kB / 0.5998 GB, free: 5.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.6788, allocations: 28.41 kB / 0.5999 GB, free: 5.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.287e-05/0.6788, allocations: 22.73 kB / 0.5999 GB, free: 5.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6789, allocations: 3.938 kB / 0.5999 GB, free: 5.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001423/0.679, allocations: 98.98 kB / 0.6 GB, free: 5.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.679, allocations: 4 kB / 0.6 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.679, allocations: 0 / 0.6 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.679, allocations: 4.031 kB / 0.6 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.6791, allocations: 23.48 kB / 0.6 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.6792, allocations: 3.938 kB / 0.6 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.658e-05/0.6792, allocations: 0 / 0.6 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.6792, allocations: 4 kB / 0.6 GB, free: 5.504 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 6.873e-05/0.6793, allocations: 112.9 kB / 0.6001 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.6793, allocations: 11.81 kB / 0.6001 GB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.6795, allocations: 104.6 kB / 0.6002 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6795, allocations: 4 kB / 0.6002 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6795, allocations: 3.984 kB / 0.6002 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6795, allocations: 0 / 0.6002 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.6799, allocations: 374.7 kB / 0.6006 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6799, allocations: 4 kB / 0.6006 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.68, allocations: 8 kB / 0.6006 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.68, allocations: 0 / 0.6006 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.68, allocations: 4 kB / 0.6006 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.68, allocations: 8.016 kB / 0.6006 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.68, allocations: 0 / 0.6006 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000172/0.6802, allocations: 212 kB / 0.6008 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002838/0.6805, allocations: 0.58 MB / 0.6014 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.6805, allocations: 103.9 kB / 0.6015 GB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.6806, allocations: 8.172 kB / 0.6015 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.6807, allocations: 7.984 kB / 0.6015 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.6807, allocations: 4 kB / 0.6015 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.6807, allocations: 4 kB / 0.6015 GB, free: 3.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001305/0.6808, allocations: 165.1 kB / 0.6017 GB, free: 3.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007973/0.6817, allocations: 35.12 kB / 0.6017 GB, free: 3.77 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.0006251/0.6823, allocations: 337.5 kB / 0.602 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.6824, allocations: 60.11 kB / 0.6021 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6824, allocations: 0 / 0.6021 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.6825, allocations: 30.62 kB / 0.6021 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6828, allocations: 24.48 kB / 0.6021 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.6831, allocations: 178.5 kB / 0.6023 GB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.6834, allocations: 0.7425 MB / 0.603 GB, free: 2.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6834, allocations: 0 / 0.603 GB, free: 2.48 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat