Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",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.001006/0.001006, allocations: 198.6 kB / 8.539 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.098/1.098, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008306/0.0008307, allocations: 91.11 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1532/0.1532, allocations: 45.15 MB / 383.3 MB, free: 468 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1854/0.3386, allocations: 69.37 MB / 452.7 MB, free: 75.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.4199, allocations: 63.25 MB / 0.5039 GB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2415/0.6614, allocations: 89.72 MB / 0.5915 GB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.6616, allocations: 76.52 kB / 0.5916 GB, free: 12.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01596/0.6776, allocations: 6.277 MB / 0.5977 GB, free: 7.477 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.6777, allocations: 8 kB / 0.5977 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.6777, allocations: 11.91 kB / 0.5977 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.678, allocations: 213 kB / 0.5979 GB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.678, allocations: 0 / 0.5979 GB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.678, allocations: 7.984 kB / 0.5979 GB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.592e-05/0.6781, allocations: 11.69 kB / 0.5979 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.564e-05/0.6782, allocations: 56.08 kB / 0.598 GB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.6782, allocations: 0 / 0.598 GB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.6782, allocations: 4 kB / 0.598 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.6782, allocations: 0 / 0.598 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001598/0.6784, allocations: 166.5 kB / 0.5982 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.849e-05/0.6785, allocations: 41.38 kB / 0.5982 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.6785, allocations: 16.8 kB / 0.5982 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.6785, allocations: 4 kB / 0.5982 GB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.918e-05/0.6786, allocations: 62.34 kB / 0.5983 GB, free: 6.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.6786, allocations: 0 / 0.5983 GB, free: 6.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001717/0.6788, allocations: 76.33 kB / 0.5983 GB, free: 6.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.6789, allocations: 52.19 kB / 0.5984 GB, free: 6.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.679, allocations: 179.5 kB / 0.5986 GB, free: 6.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.679, allocations: 25.7 kB / 0.5986 GB, free: 6.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.6791, allocations: 96.06 kB / 0.5987 GB, free: 6.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.6791, allocations: 11.75 kB / 0.5987 GB, free: 6.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.6791, allocations: 4 kB / 0.5987 GB, free: 6.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.6792, allocations: 326.5 kB / 0.599 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.6793, allocations: 11.44 kB / 0.599 GB, free: 6.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.521e-05/0.6793, allocations: 32.52 kB / 0.5991 GB, free: 6.035 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.6793, allocations: 11.25 kB / 0.5991 GB, free: 6.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6793, allocations: 0 / 0.5991 GB, free: 6.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001188/0.6795, allocations: 80 kB / 0.5991 GB, free: 5.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6795, allocations: 12.03 kB / 0.5992 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6795, allocations: 4 kB / 0.5992 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.6795, allocations: 3.984 kB / 0.5992 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.6796, allocations: 8 kB / 0.5992 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.6796, allocations: 0 / 0.5992 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.6797, allocations: 4 kB / 0.5992 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.6797, allocations: 4 kB / 0.5992 GB, free: 5.918 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 (7): * Single equations (assignments): 7 * 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.031e-05/0.6797, allocations: 112.8 kB / 0.5993 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.6798, allocations: 15.89 kB / 0.5993 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.6799, allocations: 84.62 kB / 0.5994 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6799, allocations: 7.906 kB / 0.5994 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.6799, allocations: 0 / 0.5994 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6799, allocations: 0 / 0.5994 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.6801, allocations: 164.9 kB / 0.5995 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6801, allocations: 0 / 0.5995 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.6801, allocations: 4 kB / 0.5995 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6801, allocations: 0 / 0.5995 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.6801, allocations: 2.938 kB / 0.5996 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.6801, allocations: 4 kB / 0.5996 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6801, allocations: 7.906 kB / 0.5996 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000116/0.6803, allocations: 99.08 kB / 0.5997 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001927/0.6805, allocations: 482.6 kB / 0.6001 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.6805, allocations: 96.42 kB / 0.6002 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.6805, allocations: 192 / 0.6002 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.637e-05/0.6806, allocations: 11.98 kB / 0.6002 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.6806, allocations: 4 kB / 0.6002 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.6806, allocations: 4 kB / 0.6002 GB, free: 4.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.821e-05/0.6807, allocations: 140.4 kB / 0.6004 GB, free: 4.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000745/0.6815, allocations: 31.22 kB / 0.6004 GB, free: 4.645 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0005653/0.6821, allocations: 308 kB / 0.6007 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.091e-05/0.6822, allocations: 42.44 kB / 0.6007 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.6822, allocations: 0 / 0.6007 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.84e-05/0.6822, allocations: 27.19 kB / 0.6008 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.6824, allocations: 19.53 kB / 0.6008 GB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.6827, allocations: 145.6 kB / 0.6009 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.683, allocations: 0.7271 MB / 0.6016 GB, free: 3.438 MB / 394.7 MB Notification: Performance of SimCode: time 3.1e-07/0.683, allocations: 0 / 0.6016 GB, free: 3.438 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat