Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 183.6 kB / 8.52 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.4 MB / 230.3 MB, free: 7.723 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 77.88 kB / 281.2 MB, free: 5.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1788/0.1788, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2175/0.3963, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.5252, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.8618, allocations: 88.76 MB / 0.5809 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.862, allocations: 71.97 kB / 0.5809 GB, free: 7.887 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.02169/0.8837, allocations: 8.026 MB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.8838, allocations: 19.92 kB / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.8838, allocations: 7.906 kB / 0.5888 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.8842, allocations: 202.8 kB / 0.589 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.8842, allocations: 0 / 0.589 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.8842, allocations: 7.984 kB / 0.589 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.815e-05/0.8843, allocations: 15.94 kB / 0.589 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.8844, allocations: 79.3 kB / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.8845, allocations: 0 / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.8845, allocations: 0 / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8845, allocations: 0 / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.8849, allocations: 269.4 kB / 0.5893 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.885, allocations: 50.62 kB / 0.5894 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.885, allocations: 20.98 kB / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.8851, allocations: 0 / 0.5894 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.86e-05/0.8852, allocations: 63.39 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.495e-06/0.8852, allocations: 0 / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004149/0.8856, allocations: 133.2 kB / 0.5896 GB, free: 14.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.8856, allocations: 77.11 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.8858, allocations: 147.2 kB / 0.5898 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.8858, allocations: 29.7 kB / 0.5898 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.8859, allocations: 88.12 kB / 0.5899 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.8859, allocations: 19.66 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.8859, allocations: 0 / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.886, allocations: 326.8 kB / 0.5903 GB, free: 14.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.8861, allocations: 16 kB / 0.5903 GB, free: 14.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.496e-05/0.8861, allocations: 38.56 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.844e-05/0.8862, allocations: 27.97 kB / 0.5903 GB, free: 14.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.8862, allocations: 0 / 0.5903 GB, free: 14.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001516/0.8863, allocations: 85.58 kB / 0.5904 GB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.8863, allocations: 10.19 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8864, allocations: 0 / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.8864, allocations: 0 / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.8865, allocations: 23.89 kB / 0.5904 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.8865, allocations: 7.938 kB / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.8865, allocations: 3.984 kB / 0.5905 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.8866, allocations: 8.031 kB / 0.5905 GB, free: 13.92 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 7.767e-05/0.8867, allocations: 108.1 kB / 0.5906 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.8867, allocations: 7.906 kB / 0.5906 GB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.8869, allocations: 106.1 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8869, allocations: 4 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8869, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.8869, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.8873, allocations: 367.9 kB / 0.591 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8873, allocations: 4 kB / 0.591 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.8874, allocations: 11.98 kB / 0.591 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8874, allocations: 0 / 0.591 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.8874, allocations: 4 kB / 0.5911 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8874, allocations: 0 / 0.5911 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8874, allocations: 0 / 0.5911 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001827/0.8876, allocations: 206.1 kB / 0.5912 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003116/0.8879, allocations: 0.5803 MB / 0.5918 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.888, allocations: 85.02 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.888, allocations: 15.92 kB / 0.5919 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.198e-05/0.8881, allocations: 0 / 0.5919 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.8882, allocations: 8 kB / 0.5919 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.8882, allocations: 7.984 kB / 0.5919 GB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.501e-05/0.8883, allocations: 113.8 kB / 0.592 GB, free: 12.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008628/0.8891, allocations: 51.83 kB / 0.5921 GB, free: 12.13 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.0008651/0.89, allocations: 385.3 kB / 0.5925 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001395/0.8901, allocations: 52 kB / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8902, allocations: 0 / 0.5925 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.482e-05/0.8902, allocations: 35.92 kB / 0.5925 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.8905, allocations: 26.81 kB / 0.5926 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.8908, allocations: 120.7 kB / 0.5927 GB, free: 11.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.8912, allocations: 0.7232 MB / 0.5934 GB, free: 10.83 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8912, allocations: 0 / 0.5934 GB, free: 10.83 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat