Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",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.0009683/0.0009683, allocations: 201.8 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.109/1.109, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008362/0.0008362, allocations: 101.2 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1572/0.1572, allocations: 45.14 MB / 383.3 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1784/0.3356, allocations: 69.37 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07841/0.4141, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/0.6576, allocations: 90.86 MB / 0.5926 GB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001706/0.6578, allocations: 74.27 kB / 0.5927 GB, free: 11.94 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.01325/0.671, allocations: 5.265 MB / 0.5978 GB, free: 7.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.6711, allocations: 11.94 kB / 0.5978 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.6711, allocations: 19.72 kB / 0.5978 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.6714, allocations: 236.7 kB / 0.5981 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.6715, allocations: 4 kB / 0.5981 GB, free: 7.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.6715, allocations: 4 kB / 0.5981 GB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.745e-05/0.6716, allocations: 34.25 kB / 0.5981 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.6717, allocations: 98.8 kB / 0.5982 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.6717, allocations: 0 / 0.5982 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6718, allocations: 0 / 0.5982 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.6718, allocations: 4 kB / 0.5982 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.6722, allocations: 495.9 kB / 0.5987 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.6725, allocations: 72.81 kB / 0.5988 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.6725, allocations: 38.78 kB / 0.5988 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.6725, allocations: 4 kB / 0.5988 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.995e-05/0.6726, allocations: 68.62 kB / 0.5989 GB, free: 6.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.6726, allocations: 0 / 0.5989 GB, free: 6.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000191/0.6728, allocations: 94.7 kB / 0.599 GB, free: 6.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.6729, allocations: 54.81 kB / 0.599 GB, free: 6.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.673, allocations: 186.3 kB / 0.5992 GB, free: 6.125 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.6731, allocations: 28.2 kB / 0.5992 GB, free: 6.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.6731, allocations: 107.1 kB / 0.5993 GB, free: 5.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.6731, allocations: 30.92 kB / 0.5993 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-06/0.6731, allocations: 0 / 0.5993 GB, free: 5.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.058e-05/0.6732, allocations: 325.5 kB / 0.5996 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.6733, allocations: 18.88 kB / 0.5997 GB, free: 5.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.6733, allocations: 58.84 kB / 0.5997 GB, free: 5.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.6734, allocations: 27.19 kB / 0.5997 GB, free: 5.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6734, allocations: 0 / 0.5997 GB, free: 5.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001666/0.6736, allocations: 116.2 kB / 0.5999 GB, free: 5.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.6736, allocations: 4 kB / 0.5999 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.6736, allocations: 0 / 0.5999 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.6736, allocations: 7.984 kB / 0.5999 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.6737, allocations: 31.56 kB / 0.5999 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.6737, allocations: 0 / 0.5999 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.246e-05/0.6738, allocations: 15.89 kB / 0.5999 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.6738, allocations: 4 kB / 0.5999 GB, free: 5.387 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * 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.123e-05/0.6739, allocations: 104.9 kB / 0.6 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.674, allocations: 15.81 kB / 0.6 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.6741, allocations: 113.5 kB / 0.6001 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.6741, allocations: 0 / 0.6001 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6742, allocations: 3.906 kB / 0.6001 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6742, allocations: 7.984 kB / 0.6002 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.6743, allocations: 190.4 kB / 0.6003 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6743, allocations: 4 kB / 0.6003 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.6744, allocations: 15.94 kB / 0.6004 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6744, allocations: 0 / 0.6004 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.6744, allocations: 7.891 kB / 0.6004 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.6744, allocations: 0 / 0.6004 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6744, allocations: 4 kB / 0.6004 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002113/0.6747, allocations: 160.5 kB / 0.6005 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003256/0.675, allocations: 0.5671 MB / 0.6011 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.6751, allocations: 96.84 kB / 0.6012 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.6751, allocations: 4.125 kB / 0.6012 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.6752, allocations: 8 kB / 0.6012 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.6752, allocations: 7.984 kB / 0.6012 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.6752, allocations: 4 kB / 0.6012 GB, free: 4.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.381e-05/0.6753, allocations: 136.8 kB / 0.6013 GB, free: 3.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007759/0.6761, allocations: 35.69 kB / 0.6014 GB, free: 3.957 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0005433/0.6767, allocations: 315.3 kB / 0.6017 GB, free: 3.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.6768, allocations: 65.25 kB / 0.6017 GB, free: 3.664 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6768, allocations: 3.938 kB / 0.6017 GB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.6769, allocations: 38.12 kB / 0.6018 GB, free: 3.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.6771, allocations: 27.81 kB / 0.6018 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.6775, allocations: 185.2 kB / 0.602 GB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.6778, allocations: 0.7463 MB / 0.6027 GB, free: 2.648 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.6778, allocations: 0 / 0.6027 GB, free: 2.648 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat