Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001179/0.001179, allocations: 178.3 kB / 8.518 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.196/1.196, allocations: 221.4 MB / 230.3 MB, free: 7.703 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.0009517/0.0009516, allocations: 84.69 kB / 281.2 MB, free: 5.453 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.1737/0.1737, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2114/0.3851, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.5047, allocations: 61.91 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3176/0.8223, allocations: 88.76 MB / 0.5809 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.8226, allocations: 75.61 kB / 0.5809 GB, free: 7.906 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.02196/0.8446, allocations: 8.033 MB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.8446, allocations: 11.94 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.8447, allocations: 7.906 kB / 0.5888 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.845, allocations: 210.9 kB / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.8451, allocations: 0 / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.8451, allocations: 0 / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.714e-05/0.8452, allocations: 23.92 kB / 0.589 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.8453, allocations: 75.3 kB / 0.5891 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.8453, allocations: 0 / 0.5891 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.8453, allocations: 0 / 0.5891 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8453, allocations: 0 / 0.5891 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.8457, allocations: 261.4 kB / 0.5893 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.876e-05/0.8458, allocations: 58.62 kB / 0.5894 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.8458, allocations: 16.98 kB / 0.5894 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.8458, allocations: 4 kB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.142e-05/0.8459, allocations: 59.41 kB / 0.5895 GB, free: 15.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.8459, allocations: 3.938 kB / 0.5895 GB, free: 15.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003914/0.8463, allocations: 125.3 kB / 0.5896 GB, free: 14.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.8464, allocations: 81.09 kB / 0.5897 GB, free: 14.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.8465, allocations: 147.2 kB / 0.5898 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.8466, allocations: 29.7 kB / 0.5898 GB, free: 14.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.8466, allocations: 88.12 kB / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.8466, allocations: 23.66 kB / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.8466, allocations: 0 / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.8468, allocations: 322.8 kB / 0.5903 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.8468, allocations: 16 kB / 0.5903 GB, free: 14.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/0.8468, allocations: 46.56 kB / 0.5903 GB, free: 14.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.8469, allocations: 16 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.8469, allocations: 0 / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001437/0.8471, allocations: 97.5 kB / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8471, allocations: 4 kB / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.8471, allocations: 0 / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8471, allocations: 4 kB / 0.5904 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.8472, allocations: 15.91 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.8472, allocations: 0 / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.8473, allocations: 12.05 kB / 0.5905 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.8473, allocations: 8.188 kB / 0.5905 GB, free: 13.94 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.296e-05/0.8474, allocations: 108.9 kB / 0.5906 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.8474, allocations: 11.84 kB / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.8476, allocations: 102.1 kB / 0.5907 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8476, allocations: 3.938 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.8476, allocations: 0 / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.8476, allocations: 4 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003498/0.848, allocations: 359.9 kB / 0.591 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.848, allocations: 0 / 0.591 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/0.8481, allocations: 15.94 kB / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8481, allocations: 0 / 0.591 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.8481, allocations: 3.984 kB / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8481, allocations: 0 / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8481, allocations: 4 kB / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002214/0.8483, allocations: 206.1 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003487/0.8487, allocations: 0.5726 MB / 0.5918 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.8488, allocations: 96.95 kB / 0.5919 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.8488, allocations: 3.938 kB / 0.5919 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.8489, allocations: 8.172 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.8489, allocations: 8 kB / 0.5919 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.8489, allocations: 7.984 kB / 0.5919 GB, free: 12.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.141e-05/0.849, allocations: 117.7 kB / 0.592 GB, free: 12.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008564/0.8499, allocations: 47.84 kB / 0.5921 GB, free: 12.15 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.0008018/0.8507, allocations: 374.9 kB / 0.5924 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.8509, allocations: 59.94 kB / 0.5925 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8509, allocations: 0 / 0.5925 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.255e-05/0.8509, allocations: 31.94 kB / 0.5925 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.8512, allocations: 26.92 kB / 0.5926 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.8515, allocations: 124.7 kB / 0.5927 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.8519, allocations: 0.7232 MB / 0.5934 GB, free: 10.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8519, allocations: 0 / 0.5934 GB, free: 10.84 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat does not exist to compare? outputFormat=mat