Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",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.00133/0.00133, allocations: 199.6 kB / 8.534 MB, free: 1.723 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.086/1.086, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008015/0.0008016, allocations: 93.05 kB / 286.3 MB, free: 5.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1541/0.1541, allocations: 45.14 MB / 383.3 MB, free: 468 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1796/0.3337, allocations: 69.38 MB / 452.7 MB, free: 75.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07914/0.4129, allocations: 63.25 MB / 0.5039 GB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.6485, allocations: 89.8 MB / 0.5916 GB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.6487, allocations: 76.64 kB / 0.5916 GB, free: 12.64 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.01826/0.667, allocations: 7.752 MB / 0.5992 GB, free: 6.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.6671, allocations: 8 kB / 0.5992 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.649e-05/0.6672, allocations: 55.34 kB / 0.5993 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.6679, allocations: 478.1 kB / 0.5997 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.6679, allocations: 7.891 kB / 0.5997 GB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.6679, allocations: 4 kB / 0.5997 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.376e-05/0.668, allocations: 33.36 kB / 0.5998 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.6681, allocations: 77.44 kB / 0.5998 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.6682, allocations: 0.75 kB / 0.5998 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.6682, allocations: 0 / 0.5998 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6682, allocations: 8 kB / 0.5999 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.6685, allocations: 356.2 kB / 0.6002 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.6686, allocations: 99.34 kB / 0.6003 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.6687, allocations: 32.47 kB / 0.6003 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.6687, allocations: 6 kB / 0.6003 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/0.6688, allocations: 103.6 kB / 0.6004 GB, free: 4.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.6689, allocations: 0 / 0.6004 GB, free: 4.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000257/0.6691, allocations: 142.2 kB / 0.6006 GB, free: 4.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.6692, allocations: 77.11 kB / 0.6006 GB, free: 4.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.6702, allocations: 0.9003 MB / 0.6015 GB, free: 3.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.6702, allocations: 29.2 kB / 0.6015 GB, free: 3.887 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.6703, allocations: 138 kB / 0.6017 GB, free: 3.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.6703, allocations: 27.09 kB / 0.6017 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/0.6703, allocations: 0 / 0.6017 GB, free: 3.746 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.6704, allocations: 376.2 kB / 0.6021 GB, free: 3.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.6705, allocations: 26.17 kB / 0.6021 GB, free: 3.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.305e-05/0.6705, allocations: 56.94 kB / 0.6021 GB, free: 3.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.721e-05/0.6706, allocations: 27.28 kB / 0.6022 GB, free: 3.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6706, allocations: 0 / 0.6022 GB, free: 3.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002113/0.6708, allocations: 158.2 kB / 0.6023 GB, free: 3.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.6708, allocations: 4 kB / 0.6023 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.6709, allocations: 0 / 0.6023 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6709, allocations: 4 kB / 0.6023 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.671, allocations: 23.92 kB / 0.6023 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.671, allocations: 8.062 kB / 0.6023 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.6711, allocations: 11.84 kB / 0.6024 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.6711, allocations: 4 kB / 0.6024 GB, free: 3.102 MB / 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 6.441e-05/0.6712, allocations: 105 kB / 0.6025 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.6713, allocations: 67 kB / 0.6025 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.6715, allocations: 169.5 kB / 0.6027 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.6716, allocations: 8 kB / 0.6027 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6716, allocations: 384 / 0.6027 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6716, allocations: 0 / 0.6027 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.6718, allocations: 362.7 kB / 0.603 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.6719, allocations: 4 kB / 0.603 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.6719, allocations: 8 kB / 0.6031 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6719, allocations: 4 kB / 0.6031 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.6719, allocations: 0 / 0.6031 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6719, allocations: 3.938 kB / 0.6031 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6719, allocations: 3.984 kB / 0.6031 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002271/0.6722, allocations: 200.1 kB / 0.6033 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003119/0.6725, allocations: 0.5696 MB / 0.6038 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.6727, allocations: 194.7 kB / 0.604 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.037e-05/0.6728, allocations: 3.938 kB / 0.604 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.6729, allocations: 11.89 kB / 0.604 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.673, allocations: 15.17 kB / 0.604 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.673, allocations: 4 kB / 0.604 GB, free: 1.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006577/0.6736, allocations: 0.706 MB / 0.6047 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008381/0.6745, allocations: 78.98 kB / 0.6048 GB, free: 0.8281 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.0005509/0.675, allocations: 314 kB / 0.6051 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.6752, allocations: 76.23 kB / 0.6052 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6752, allocations: 0 / 0.6052 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.072e-05/0.6753, allocations: 37.44 kB / 0.6052 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.6756, allocations: 60.17 kB / 0.6053 GB, free: 480 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.6767, allocations: 0.7552 MB / 0.606 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.6772, allocations: 0.9028 MB / 0.6069 GB, free: 14.85 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6772, allocations: 0 / 0.6069 GB, free: 14.85 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat