Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",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.001231/0.001231, allocations: 202.3 kB / 8.541 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.078/1.078, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008233/0.0008235, allocations: 96.02 kB / 286.3 MB, free: 5.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1569/0.1569, allocations: 45.15 MB / 383.4 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1779/0.3348, allocations: 69.36 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0758/0.4106, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.6406, allocations: 90.22 MB / 0.592 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/0.6408, allocations: 81.92 kB / 0.5921 GB, free: 12.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.03017/0.671, allocations: 13.97 MB / 0.6057 GB, free: 1.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.671, allocations: 8 kB / 0.6057 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.6711, allocations: 7.906 kB / 0.6057 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.6713, allocations: 225.6 kB / 0.6059 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.6714, allocations: 0 / 0.6059 GB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.6714, allocations: 4 kB / 0.6059 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.222e-05/0.6715, allocations: 19.11 kB / 0.606 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.161e-05/0.6716, allocations: 58.47 kB / 0.606 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6716, allocations: 0 / 0.606 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.6716, allocations: 3.984 kB / 0.606 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.6716, allocations: 0 / 0.606 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.6719, allocations: 277.5 kB / 0.6063 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.113e-05/0.672, allocations: 49.81 kB / 0.6063 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.672, allocations: 16.55 kB / 0.6063 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.6721, allocations: 0 / 0.6063 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.995e-05/0.6722, allocations: 74.7 kB / 0.6064 GB, free: 0.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.6722, allocations: 0 / 0.6064 GB, free: 0.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003613/0.6725, allocations: 134.6 kB / 0.6065 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.6726, allocations: 81.11 kB / 0.6066 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.6727, allocations: 146.8 kB / 0.6068 GB, free: 460 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.6727, allocations: 25.7 kB / 0.6068 GB, free: 428 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.012e-05/0.6728, allocations: 87.94 kB / 0.6069 GB, free: 340 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.6728, allocations: 23.27 kB / 0.6069 GB, free: 320 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.6728, allocations: 7.938 kB / 0.6069 GB, free: 312 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6729, allocations: 322.4 kB / 0.6072 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.673, allocations: 22.98 kB / 0.6072 GB, free: 15.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-05/0.673, allocations: 40.89 kB / 0.6073 GB, free: 15.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.6731, allocations: 22.69 kB / 0.6073 GB, free: 15.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.6731, allocations: 0 / 0.6073 GB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001384/0.6732, allocations: 90.39 kB / 0.6074 GB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.6732, allocations: 8.062 kB / 0.6074 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.6732, allocations: 3.938 kB / 0.6074 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.6733, allocations: 0 / 0.6074 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.6733, allocations: 19.92 kB / 0.6074 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.6734, allocations: 4 kB / 0.6074 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.324e-05/0.6734, allocations: 3.906 kB / 0.6074 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.6734, allocations: 7.062 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 (10): * Single equations (assignments): 10 * 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.931e-05/0.6735, allocations: 108.9 kB / 0.6075 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.6735, allocations: 11.91 kB / 0.6075 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.6737, allocations: 106.4 kB / 0.6076 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6737, allocations: 0 / 0.6076 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6737, allocations: 0 / 0.6076 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6738, allocations: 0 / 0.6076 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.6741, allocations: 369.3 kB / 0.608 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.6741, allocations: 0 / 0.608 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.6742, allocations: 15.98 kB / 0.608 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6742, allocations: 4.031 kB / 0.608 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.6742, allocations: 0 / 0.608 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6742, allocations: 4 kB / 0.608 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6742, allocations: 0 / 0.608 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001789/0.6744, allocations: 203.2 kB / 0.6082 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002701/0.6747, allocations: 0.5778 MB / 0.6088 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.6747, allocations: 92.94 kB / 0.6089 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.6748, allocations: 7.906 kB / 0.6089 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.6749, allocations: 4 kB / 0.6089 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.6749, allocations: 4.453 kB / 0.6089 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.6749, allocations: 15.5 kB / 0.6089 GB, free: 14.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.389e-05/0.675, allocations: 124.8 kB / 0.609 GB, free: 14.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008501/0.6759, allocations: 70.11 kB / 0.6091 GB, free: 14.08 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 (9): * Single equations (assignments): 7 * 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.0007919/0.6767, allocations: 435.1 kB / 0.6095 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.6768, allocations: 61.48 kB / 0.6095 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6768, allocations: 0 / 0.6095 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.6769, allocations: 30.98 kB / 0.6096 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.6771, allocations: 23.8 kB / 0.6096 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.6774, allocations: 145.9 kB / 0.6097 GB, free: 13.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.6778, allocations: 0.7303 MB / 0.6105 GB, free: 12.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6778, allocations: 0 / 0.6105 GB, free: 12.75 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat