Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43",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.0009641/0.0009642, allocations: 199.7 kB / 8.538 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.111/1.111, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000953/0.0009531, allocations: 99.94 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1571/0.1571, allocations: 45.13 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1826/0.3397, allocations: 69.38 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07874/0.4185, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2398/0.6584, allocations: 89.96 MB / 0.5917 GB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.6586, allocations: 72.97 kB / 0.5918 GB, free: 12.89 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.01632/0.6749, allocations: 6.575 MB / 0.5982 GB, free: 7.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.675, allocations: 8 kB / 0.5982 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.675, allocations: 19.8 kB / 0.5982 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.6753, allocations: 221.6 kB / 0.5985 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.6753, allocations: 0 / 0.5985 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.6753, allocations: 0 / 0.5985 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.194e-05/0.6754, allocations: 22.98 kB / 0.5985 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.6755, allocations: 49.62 kB / 0.5985 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6755, allocations: 3.938 kB / 0.5985 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.6755, allocations: 0 / 0.5985 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.6755, allocations: 4 kB / 0.5985 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.6758, allocations: 276 kB / 0.5988 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.331e-05/0.6759, allocations: 51.44 kB / 0.5988 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.308e-05/0.676, allocations: 23.17 kB / 0.5989 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.676, allocations: 4 kB / 0.5989 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.833e-05/0.6761, allocations: 57.09 kB / 0.5989 GB, free: 6.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.6761, allocations: 4 kB / 0.5989 GB, free: 6.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003671/0.6765, allocations: 133.6 kB / 0.5991 GB, free: 6.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.6765, allocations: 55.39 kB / 0.5991 GB, free: 6.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.6767, allocations: 186.5 kB / 0.5993 GB, free: 6.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.6767, allocations: 33.7 kB / 0.5993 GB, free: 6.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.6767, allocations: 90.88 kB / 0.5994 GB, free: 6.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.6768, allocations: 23.02 kB / 0.5994 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.6768, allocations: 0 / 0.5994 GB, free: 6.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.6769, allocations: 329.1 kB / 0.5997 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.6769, allocations: 15 kB / 0.5998 GB, free: 5.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.677, allocations: 36.22 kB / 0.5998 GB, free: 5.777 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/0.677, allocations: 26.42 kB / 0.5998 GB, free: 5.758 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.677, allocations: 0 / 0.5998 GB, free: 5.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001359/0.6771, allocations: 90.64 kB / 0.5999 GB, free: 5.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.6772, allocations: 4 kB / 0.5999 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6772, allocations: 4.094 kB / 0.5999 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.6772, allocations: 4 kB / 0.5999 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/0.6773, allocations: 24.05 kB / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.6773, allocations: 0 / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.6774, allocations: 8 kB / 0.5999 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6774, allocations: 4.031 kB / 0.5999 GB, free: 5.629 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 5.63e-05/0.6774, allocations: 116.4 kB / 0.6001 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.6775, allocations: 15.81 kB / 0.6001 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.6777, allocations: 104.5 kB / 0.6002 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6777, allocations: 0 / 0.6002 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.6777, allocations: 3.984 kB / 0.6002 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6777, allocations: 0 / 0.6002 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.678, allocations: 379.3 kB / 0.6005 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.678, allocations: 0 / 0.6005 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.6781, allocations: 8 kB / 0.6005 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6781, allocations: 4 kB / 0.6005 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.6781, allocations: 0 / 0.6005 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.6781, allocations: 3.906 kB / 0.6005 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6781, allocations: 4 kB / 0.6006 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001627/0.6783, allocations: 208.8 kB / 0.6008 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002637/0.6786, allocations: 0.5758 MB / 0.6013 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.6786, allocations: 96.09 kB / 0.6014 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.6787, allocations: 8 kB / 0.6014 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.6787, allocations: 0 / 0.6014 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.6788, allocations: 11.92 kB / 0.6014 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.6788, allocations: 7.438 kB / 0.6014 GB, free: 4.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001064/0.6789, allocations: 145.8 kB / 0.6016 GB, free: 3.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009061/0.6798, allocations: 42.77 kB / 0.6016 GB, free: 3.914 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.0006322/0.6805, allocations: 343.8 kB / 0.6019 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.6806, allocations: 46.58 kB / 0.602 GB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6806, allocations: 0 / 0.602 GB, free: 3.625 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/0.6806, allocations: 35.14 kB / 0.602 GB, free: 3.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.6809, allocations: 23.38 kB / 0.602 GB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.6813, allocations: 181.2 kB / 0.6022 GB, free: 3.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.6816, allocations: 0.7309 MB / 0.6029 GB, free: 2.629 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6816, allocations: 0 / 0.6029 GB, free: 2.629 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat