Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",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.001181/0.001181, allocations: 179.4 kB / 8.517 MB, free: 1.855 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.285/1.285, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0008746/0.0008746, allocations: 95.8 kB / 281.2 MB, free: 5.469 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.1673/0.1673, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2054/0.3727, allocations: 68.04 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.4728, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2747/0.7475, allocations: 88.53 MB / 0.5806 GB, free: 8.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.7478, allocations: 75.95 kB / 0.5807 GB, free: 8.227 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.01736/0.7652, allocations: 6.241 MB / 0.5868 GB, free: 1.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.7653, allocations: 15.94 kB / 0.5868 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.7653, allocations: 11.81 kB / 0.5868 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.7656, allocations: 215.6 kB / 0.587 GB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.7657, allocations: 7.844 kB / 0.5871 GB, free: 1.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.7657, allocations: 4.656 kB / 0.5871 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/0.7658, allocations: 51.95 kB / 0.5871 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.7659, allocations: 61.67 kB / 0.5872 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.766, allocations: 3.938 kB / 0.5872 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.766, allocations: 12 kB / 0.5872 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.766, allocations: 0 / 0.5872 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.7664, allocations: 305.2 kB / 0.5875 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.7666, allocations: 49.7 kB / 0.5875 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.7667, allocations: 32.84 kB / 0.5875 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.7667, allocations: 0 / 0.5875 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/0.7668, allocations: 83.3 kB / 0.5876 GB, free: 1.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.7668, allocations: 3.938 kB / 0.5876 GB, free: 1.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005922/0.7674, allocations: 233.2 kB / 0.5879 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.7675, allocations: 55.34 kB / 0.5879 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.7676, allocations: 175.6 kB / 0.5881 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.7677, allocations: 29.7 kB / 0.5881 GB, free: 500 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.7677, allocations: 96.36 kB / 0.5882 GB, free: 400 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.7678, allocations: 39.45 kB / 0.5882 GB, free: 360 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.7678, allocations: 0 / 0.5882 GB, free: 360 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.7679, allocations: 326.9 kB / 0.5885 GB, free: 24 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.768, allocations: 36.05 kB / 0.5886 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.768, allocations: 56.61 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.638e-05/0.7681, allocations: 39.98 kB / 0.5887 GB, free: 15.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.7681, allocations: 0 / 0.5887 GB, free: 15.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002528/0.7684, allocations: 150.1 kB / 0.5888 GB, free: 15.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.7684, allocations: 7.906 kB / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7684, allocations: 0 / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7684, allocations: 4.562 kB / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7686, allocations: 23.98 kB / 0.5888 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7686, allocations: 4 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.7686, allocations: 4 kB / 0.5889 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.7687, allocations: 4 kB / 0.5889 GB, free: 15.69 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 (15): * Single equations (assignments): 15 * 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.283e-05/0.7687, allocations: 108.9 kB / 0.589 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.7688, allocations: 27.77 kB / 0.589 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.7691, allocations: 171 kB / 0.5892 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7691, allocations: 0 / 0.5892 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.7691, allocations: 7.906 kB / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.7692, allocations: 7.969 kB / 0.5892 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.7697, allocations: 473.7 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7697, allocations: 0 / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.67e-05/0.7698, allocations: 27.92 kB / 0.5896 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.7698, allocations: 0 / 0.5896 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.7698, allocations: 4 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7698, allocations: 0 / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7698, allocations: 0 / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002794/0.7701, allocations: 280.4 kB / 0.5899 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004162/0.7706, allocations: 0.6516 MB / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.7706, allocations: 93.02 kB / 0.5906 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.7707, allocations: 11.89 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.357e-05/0.7708, allocations: 0 / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.7708, allocations: 11.98 kB / 0.5907 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.7708, allocations: 8 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001059/0.7709, allocations: 140 kB / 0.5908 GB, free: 13.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008909/0.7718, allocations: 47.92 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0008754/0.7727, allocations: 391.1 kB / 0.5912 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.7729, allocations: 103.9 kB / 0.5913 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.773, allocations: 0 / 0.5913 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.039e-05/0.7731, allocations: 55.92 kB / 0.5914 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.7734, allocations: 26.08 kB / 0.5914 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.7738, allocations: 205.2 kB / 0.5916 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.7742, allocations: 0.743 MB / 0.5923 GB, free: 12.03 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.7742, allocations: 0 / 0.5923 GB, free: 12.03 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat