Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",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.001594/0.001594, allocations: 199.2 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.085/1.085, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008646/0.0008647, allocations: 90.5 kB / 286.3 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1551/0.1551, allocations: 45.13 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1752/0.3303, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07588/0.4062, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.6401, allocations: 89.81 MB / 0.5916 GB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000165/0.6403, allocations: 67.41 kB / 0.5916 GB, free: 12.98 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.01828/0.6586, allocations: 7.814 MB / 0.5993 GB, free: 6.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.6586, allocations: 12 kB / 0.5993 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.465e-05/0.6587, allocations: 47.34 kB / 0.5993 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.6595, allocations: 492.5 kB / 0.5998 GB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6595, allocations: 3.938 kB / 0.5998 GB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.6595, allocations: 4 kB / 0.5998 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.619e-05/0.6596, allocations: 29.8 kB / 0.5998 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.6597, allocations: 89.91 kB / 0.5999 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.6597, allocations: 0 / 0.5999 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.6597, allocations: 0.6562 kB / 0.5999 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6598, allocations: 8 kB / 0.5999 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.6601, allocations: 361 kB / 0.6003 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.6602, allocations: 95.23 kB / 0.6004 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.6603, allocations: 36.42 kB / 0.6004 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.6603, allocations: 7.438 kB / 0.6004 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/0.6604, allocations: 94.59 kB / 0.6005 GB, free: 5.102 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.6604, allocations: 4 kB / 0.6005 GB, free: 5.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002593/0.6607, allocations: 146.9 kB / 0.6006 GB, free: 4.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.6608, allocations: 81.11 kB / 0.6007 GB, free: 4.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.6618, allocations: 0.9185 MB / 0.6016 GB, free: 4.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.6619, allocations: 25.7 kB / 0.6016 GB, free: 4.129 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.6619, allocations: 141.5 kB / 0.6018 GB, free: 4.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.662, allocations: 27.39 kB / 0.6018 GB, free: 3.984 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.662, allocations: 0 / 0.6018 GB, free: 3.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6621, allocations: 371.7 kB / 0.6021 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.6622, allocations: 18.69 kB / 0.6022 GB, free: 3.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.6622, allocations: 62.23 kB / 0.6022 GB, free: 3.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.6623, allocations: 29.98 kB / 0.6023 GB, free: 3.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6623, allocations: 0 / 0.6023 GB, free: 3.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002204/0.6625, allocations: 154.1 kB / 0.6024 GB, free: 3.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.6625, allocations: 7.906 kB / 0.6024 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6626, allocations: 0 / 0.6024 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.6626, allocations: 4.25 kB / 0.6024 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.6627, allocations: 27.55 kB / 0.6024 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.6627, allocations: 8 kB / 0.6024 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.6628, allocations: 7.984 kB / 0.6025 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6628, allocations: 4 kB / 0.6025 GB, free: 3.348 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 8.13e-05/0.6629, allocations: 116.8 kB / 0.6026 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.663, allocations: 51.34 kB / 0.6026 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.6633, allocations: 178 kB / 0.6028 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.6633, allocations: 3.938 kB / 0.6028 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6633, allocations: 3.984 kB / 0.6028 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.6633, allocations: 3.984 kB / 0.6028 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.6636, allocations: 368.7 kB / 0.6032 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6636, allocations: 0 / 0.6032 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.502e-05/0.6637, allocations: 8 kB / 0.6032 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.6637, allocations: 4 kB / 0.6032 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.6637, allocations: 3.984 kB / 0.6032 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.6637, allocations: 0 / 0.6032 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6637, allocations: 0 / 0.6032 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002375/0.6639, allocations: 202.2 kB / 0.6034 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003379/0.6643, allocations: 0.5771 MB / 0.6039 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.6645, allocations: 196.7 kB / 0.6041 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.6646, allocations: 7.922 kB / 0.6041 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.6647, allocations: 4 kB / 0.6041 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.6648, allocations: 11.11 kB / 0.6041 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.6648, allocations: 8 kB / 0.6041 GB, free: 1.645 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007178/0.6655, allocations: 0.7291 MB / 0.6049 GB, free: 1.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008369/0.6663, allocations: 79.72 kB / 0.6049 GB, free: 1.047 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.0005601/0.6669, allocations: 311.4 kB / 0.6052 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.6671, allocations: 72.88 kB / 0.6053 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.6671, allocations: 0 / 0.6053 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.314e-05/0.6671, allocations: 42.3 kB / 0.6053 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.6675, allocations: 64.3 kB / 0.6054 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.6686, allocations: 0.7802 MB / 0.6062 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.6691, allocations: 0.9005 MB / 0.607 GB, free: 15.05 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6691, allocations: 0 / 0.607 GB, free: 15.05 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat