Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",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.001023/0.001023, allocations: 205.6 kB / 8.54 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.086/1.086, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008629/0.0008628, allocations: 87.3 kB / 286.3 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1539/0.1539, allocations: 45.13 MB / 383.3 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1819/0.3358, allocations: 69.38 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07586/0.4117, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/0.6373, allocations: 90.25 MB / 0.592 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001679/0.6375, allocations: 70.09 kB / 0.5921 GB, free: 12.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02975/0.6673, allocations: 13.83 MB / 0.6056 GB, free: 1.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.6673, allocations: 8 kB / 0.6056 GB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.6674, allocations: 11.91 kB / 0.6056 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.6677, allocations: 221.6 kB / 0.6058 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6677, allocations: 0 / 0.6058 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.6677, allocations: 4 kB / 0.6058 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.019e-05/0.6678, allocations: 26.11 kB / 0.6058 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.6679, allocations: 73.5 kB / 0.6059 GB, free: 1.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.6679, allocations: 4 kB / 0.6059 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.6679, allocations: 0 / 0.6059 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6679, allocations: 7.844 kB / 0.6059 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.6683, allocations: 281.6 kB / 0.6062 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.6684, allocations: 64.36 kB / 0.6062 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.6684, allocations: 23.83 kB / 0.6063 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.6685, allocations: 3.875 kB / 0.6063 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.355e-05/0.6686, allocations: 73.95 kB / 0.6063 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.6686, allocations: 3.938 kB / 0.6063 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004008/0.669, allocations: 165.2 kB / 0.6065 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.669, allocations: 77.11 kB / 0.6066 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.6692, allocations: 164.4 kB / 0.6067 GB, free: 488 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.6692, allocations: 29.8 kB / 0.6068 GB, free: 452 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.6692, allocations: 91.58 kB / 0.6069 GB, free: 360 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.6693, allocations: 31.08 kB / 0.6069 GB, free: 332 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.6693, allocations: 4 kB / 0.6069 GB, free: 328 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.6693, allocations: 322.2 kB / 0.6072 GB, free: 0 / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.958e-05/0.6694, allocations: 26.3 kB / 0.6072 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.6695, allocations: 44.64 kB / 0.6073 GB, free: 15.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.008e-05/0.6695, allocations: 25.17 kB / 0.6073 GB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.6695, allocations: 0 / 0.6073 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001596/0.6697, allocations: 110 kB / 0.6074 GB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.6697, allocations: 4 kB / 0.6074 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6697, allocations: 4.078 kB / 0.6074 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.6697, allocations: 3.906 kB / 0.6074 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.6698, allocations: 16 kB / 0.6074 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.6698, allocations: 7.922 kB / 0.6074 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.6699, allocations: 3.984 kB / 0.6074 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.6699, allocations: 6.438 kB / 0.6074 GB, free: 15.79 MB / 410.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 (11): * Single equations (assignments): 11 * 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.071e-05/0.67, allocations: 107.8 kB / 0.6075 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.67, allocations: 15.84 kB / 0.6076 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.6702, allocations: 120.8 kB / 0.6077 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.6702, allocations: 11.97 kB / 0.6077 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6703, allocations: 0 / 0.6077 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.6703, allocations: 0 / 0.6077 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.6707, allocations: 394.3 kB / 0.6081 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6707, allocations: 0 / 0.6081 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.6707, allocations: 23.45 kB / 0.6081 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6707, allocations: 0 / 0.6081 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.6708, allocations: 3.938 kB / 0.6081 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6708, allocations: 4 kB / 0.6081 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6708, allocations: 0 / 0.6081 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001953/0.671, allocations: 223.8 kB / 0.6083 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002998/0.6713, allocations: 0.5964 MB / 0.6089 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.6713, allocations: 92.88 kB / 0.609 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.6714, allocations: 4 kB / 0.609 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.434e-05/0.6715, allocations: 0 / 0.609 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.6715, allocations: 15.89 kB / 0.609 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.6715, allocations: 4 kB / 0.609 GB, free: 14.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.325e-05/0.6716, allocations: 138 kB / 0.6091 GB, free: 14.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000853/0.6725, allocations: 70.3 kB / 0.6092 GB, free: 14 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: 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 (11): * Single equations (assignments): 9 * 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.000806/0.6733, allocations: 436.3 kB / 0.6096 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.6734, allocations: 65.5 kB / 0.6097 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6735, allocations: 0 / 0.6097 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.6735, allocations: 42.36 kB / 0.6097 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.6738, allocations: 23.23 kB / 0.6097 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.6741, allocations: 153.5 kB / 0.6099 GB, free: 13.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.6744, allocations: 0.7386 MB / 0.6106 GB, free: 12.65 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6744, allocations: 0 / 0.6106 GB, free: 12.65 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat