Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",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.0009372/0.0009372, allocations: 203.3 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.073/1.073, allocations: 225.5 MB / 234.4 MB, free: 3.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008506/0.0008507, allocations: 93.44 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1534/0.1534, allocations: 45.14 MB / 383.4 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1769/0.3304, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.079/0.4094, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/0.6395, allocations: 89.78 MB / 0.5916 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.6398, allocations: 67.66 kB / 0.5916 GB, free: 13.09 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.01602/0.6558, allocations: 6.348 MB / 0.5978 GB, free: 7.785 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.6558, allocations: 8 kB / 0.5978 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.6559, allocations: 7.906 kB / 0.5978 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.6562, allocations: 223.5 kB / 0.598 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.6562, allocations: 3.984 kB / 0.598 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.6562, allocations: 0 / 0.598 GB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.011e-05/0.6563, allocations: 11.5 kB / 0.5981 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.664e-05/0.6564, allocations: 60.45 kB / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.6564, allocations: 0 / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.6564, allocations: 0 / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.6564, allocations: 0 / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.6566, allocations: 157.1 kB / 0.5983 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.705e-05/0.6567, allocations: 52.75 kB / 0.5983 GB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.6567, allocations: 16.17 kB / 0.5983 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.6567, allocations: 0 / 0.5983 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.89e-05/0.6568, allocations: 62.22 kB / 0.5984 GB, free: 7.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.6568, allocations: 0 / 0.5984 GB, free: 7.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001633/0.657, allocations: 72.7 kB / 0.5985 GB, free: 7.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.657, allocations: 55.44 kB / 0.5985 GB, free: 7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.6572, allocations: 175.5 kB / 0.5987 GB, free: 6.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.6572, allocations: 25.7 kB / 0.5987 GB, free: 6.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.6573, allocations: 98.44 kB / 0.5988 GB, free: 6.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.6573, allocations: 11.81 kB / 0.5988 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.6573, allocations: 0 / 0.5988 GB, free: 6.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.6574, allocations: 329.2 kB / 0.5991 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.6574, allocations: 15.12 kB / 0.5991 GB, free: 6.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.6575, allocations: 31.64 kB / 0.5992 GB, free: 6.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.6575, allocations: 18.81 kB / 0.5992 GB, free: 6.324 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6575, allocations: 0 / 0.5992 GB, free: 6.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001214/0.6577, allocations: 78.94 kB / 0.5993 GB, free: 6.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6577, allocations: 7.984 kB / 0.5993 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.6577, allocations: 0 / 0.5993 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.6577, allocations: 0 / 0.5993 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.6578, allocations: 12 kB / 0.5993 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.6578, allocations: 0 / 0.5993 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.6578, allocations: 8.031 kB / 0.5993 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.6579, allocations: 0 / 0.5993 GB, free: 6.223 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.602e-05/0.6579, allocations: 120.8 kB / 0.5994 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.658, allocations: 7.906 kB / 0.5994 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.6581, allocations: 80.95 kB / 0.5995 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.6581, allocations: 7.891 kB / 0.5995 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6581, allocations: 0 / 0.5995 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6581, allocations: 0 / 0.5995 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.6583, allocations: 171.9 kB / 0.5997 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6583, allocations: 0 / 0.5997 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.6583, allocations: 4 kB / 0.5997 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6583, allocations: 4 kB / 0.5997 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6583, allocations: 0 / 0.5997 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6583, allocations: 0 / 0.5997 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6583, allocations: 7.891 kB / 0.5997 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001252/0.6585, allocations: 95.66 kB / 0.5998 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002492/0.6587, allocations: 495.5 kB / 0.6002 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/0.6588, allocations: 88.92 kB / 0.6003 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.6588, allocations: 3.984 kB / 0.6003 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.6589, allocations: 4 kB / 0.6003 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.6589, allocations: 3.812 kB / 0.6003 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.6589, allocations: 4 kB / 0.6003 GB, free: 5.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001036/0.659, allocations: 141.6 kB / 0.6005 GB, free: 4.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007476/0.6598, allocations: 27.28 kB / 0.6005 GB, free: 4.953 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.0005602/0.6603, allocations: 325.4 kB / 0.6008 GB, free: 4.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.6604, allocations: 31.5 kB / 0.6008 GB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.6604, allocations: 0 / 0.6008 GB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.6605, allocations: 23.12 kB / 0.6009 GB, free: 4.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.6607, allocations: 31.89 kB / 0.6009 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.661, allocations: 135.8 kB / 0.601 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.6613, allocations: 0.7294 MB / 0.6017 GB, free: 3.742 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6613, allocations: 0 / 0.6017 GB, free: 3.742 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat