Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34",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.00099/0.00099, allocations: 202.3 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.08/1.08, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008491/0.0008491, allocations: 90.67 kB / 286.3 MB, free: 5.219 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.15 MB / 383.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1775/0.3347, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.413, allocations: 63.24 MB / 0.5039 GB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.6485, allocations: 89.97 MB / 0.5917 GB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.6487, allocations: 68.28 kB / 0.5918 GB, free: 12.84 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.01657/0.6653, allocations: 6.502 MB / 0.5981 GB, free: 7.426 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.6654, allocations: 8 kB / 0.5982 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.6654, allocations: 15.81 kB / 0.5982 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.6657, allocations: 214.8 kB / 0.5984 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.6657, allocations: 8 kB / 0.5984 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.6657, allocations: 3.906 kB / 0.5984 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.32e-05/0.6658, allocations: 19.8 kB / 0.5984 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.41e-05/0.6659, allocations: 49.5 kB / 0.5985 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6659, allocations: 0 / 0.5985 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.6659, allocations: 0 / 0.5985 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6659, allocations: 0 / 0.5985 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.6662, allocations: 278.2 kB / 0.5987 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.6663, allocations: 58 kB / 0.5988 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.363e-05/0.6664, allocations: 18.36 kB / 0.5988 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.6664, allocations: 0 / 0.5988 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.207e-05/0.6665, allocations: 58.97 kB / 0.5988 GB, free: 6.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.6665, allocations: 0 / 0.5988 GB, free: 6.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003656/0.6669, allocations: 140.3 kB / 0.599 GB, free: 6.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.6669, allocations: 54.53 kB / 0.599 GB, free: 6.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.6671, allocations: 184.7 kB / 0.5992 GB, free: 6.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.6671, allocations: 25.7 kB / 0.5992 GB, free: 6.277 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.6671, allocations: 94.44 kB / 0.5993 GB, free: 6.188 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.6672, allocations: 22.91 kB / 0.5993 GB, free: 6.168 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.6672, allocations: 0 / 0.5993 GB, free: 6.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.6673, allocations: 322.5 kB / 0.5997 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.6673, allocations: 23.12 kB / 0.5997 GB, free: 5.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.29e-05/0.6674, allocations: 36.27 kB / 0.5997 GB, free: 5.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.6674, allocations: 18.42 kB / 0.5997 GB, free: 5.789 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6674, allocations: 0 / 0.5997 GB, free: 5.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001377/0.6676, allocations: 100.4 kB / 0.5998 GB, free: 5.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.6676, allocations: 8 kB / 0.5998 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.6676, allocations: 0 / 0.5998 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.6676, allocations: 0 / 0.5998 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.864e-05/0.6677, allocations: 16.02 kB / 0.5998 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.6677, allocations: 8 kB / 0.5999 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.6678, allocations: 3.938 kB / 0.5999 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.6678, allocations: 4 kB / 0.5999 GB, free: 5.66 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 (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 7.265e-05/0.6679, allocations: 105.1 kB / 0.6 GB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.6679, allocations: 11.91 kB / 0.6 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.6681, allocations: 112.6 kB / 0.6001 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6681, allocations: 0 / 0.6001 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6681, allocations: 4.188 kB / 0.6001 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6681, allocations: 3.984 kB / 0.6001 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003704/0.6685, allocations: 381.1 kB / 0.6004 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6685, allocations: 0 / 0.6004 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.6686, allocations: 8 kB / 0.6005 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6686, allocations: 0 / 0.6005 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.6686, allocations: 4 kB / 0.6005 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6686, allocations: 3.984 kB / 0.6005 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6686, allocations: 0 / 0.6005 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001877/0.6688, allocations: 205.6 kB / 0.6007 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002711/0.6691, allocations: 0.5777 MB / 0.6012 GB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.6691, allocations: 99.59 kB / 0.6013 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.6692, allocations: 0 / 0.6013 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.6693, allocations: 7.984 kB / 0.6013 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.6693, allocations: 7.938 kB / 0.6013 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.6693, allocations: 7.031 kB / 0.6013 GB, free: 4.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001006/0.6694, allocations: 138.5 kB / 0.6015 GB, free: 3.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008024/0.6702, allocations: 39.73 kB / 0.6015 GB, free: 3.949 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: 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.0006261/0.6709, allocations: 351.6 kB / 0.6018 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.671, allocations: 50 kB / 0.6019 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.671, allocations: 0 / 0.6019 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.951e-05/0.6711, allocations: 38.8 kB / 0.6019 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.6713, allocations: 19.48 kB / 0.6019 GB, free: 3.598 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.6717, allocations: 157.2 kB / 0.6021 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.672, allocations: 0.7264 MB / 0.6028 GB, free: 2.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.672, allocations: 0 / 0.6028 GB, free: 2.68 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat