Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.001127/0.001127, allocations: 173.8 kB / 8.515 MB, free: 1.828 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.352/1.352, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.001083/0.001083, allocations: 89.98 kB / 281.2 MB, free: 5.508 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.202/0.202, allocations: 44.14 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2634/0.4655, allocations: 68.04 MB / 444.1 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.6138, allocations: 61.91 MB / 0.4942 GB, free: 1.496 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4141/1.028, allocations: 88.59 MB / 0.5807 GB, free: 8.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.028, allocations: 75.95 kB / 0.5808 GB, free: 8.105 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01783/1.046, allocations: 6.379 MB / 0.587 GB, free: 1.703 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.046, allocations: 11.94 kB / 0.587 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/1.046, allocations: 27.7 kB / 0.587 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/1.047, allocations: 234.5 kB / 0.5873 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.047, allocations: 4 kB / 0.5873 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/1.047, allocations: 4 kB / 0.5873 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001145/1.047, allocations: 35.92 kB / 0.5873 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.047, allocations: 73.66 kB / 0.5874 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/1.047, allocations: 0 / 0.5874 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/1.047, allocations: 0 / 0.5874 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/1.047, allocations: 7.984 kB / 0.5874 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/1.047, allocations: 321.1 kB / 0.5877 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/1.048, allocations: 49.64 kB / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/1.048, allocations: 36.84 kB / 0.5878 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/1.048, allocations: 112 / 0.5878 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/1.048, allocations: 67.34 kB / 0.5878 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/1.048, allocations: 0 / 0.5878 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006386/1.048, allocations: 231.4 kB / 0.5881 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.049, allocations: 59.31 kB / 0.5881 GB, free: 452 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/1.049, allocations: 221.5 kB / 0.5883 GB, free: 220 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/1.049, allocations: 33.7 kB / 0.5884 GB, free: 180 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/1.049, allocations: 96.06 kB / 0.5884 GB, free: 80 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/1.049, allocations: 47.92 kB / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/1.049, allocations: 0 / 0.5885 GB, free: 32 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/1.049, allocations: 330.8 kB / 0.5888 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.746e-05/1.049, allocations: 32 kB / 0.5888 GB, free: 15.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/1.049, allocations: 57.66 kB / 0.5889 GB, free: 15.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.982e-05/1.049, allocations: 47.97 kB / 0.5889 GB, free: 15.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/1.049, allocations: 3.938 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002397/1.05, allocations: 145.5 kB / 0.5891 GB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/1.05, allocations: 4 kB / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/1.05, allocations: 0 / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.05, allocations: 4 kB / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/1.05, allocations: 27.92 kB / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/1.05, allocations: 4 kB / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.156e-05/1.05, allocations: 3.906 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/1.05, allocations: 8 kB / 0.5891 GB, free: 15.36 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 (16): * Single equations (assignments): 16 * 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 8.771e-05/1.05, allocations: 116.1 kB / 0.5892 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/1.05, allocations: 15.81 kB / 0.5893 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/1.05, allocations: 175 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.05, allocations: 7.906 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.05, allocations: 0 / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.05, allocations: 3.984 kB / 0.5894 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/1.051, allocations: 487.8 kB / 0.5899 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.051, allocations: 0 / 0.5899 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.121e-05/1.051, allocations: 27.92 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.051, allocations: 4 kB / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/1.051, allocations: 0 / 0.5899 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/1.051, allocations: 4 kB / 0.5899 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.051, allocations: 7.844 kB / 0.5899 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003007/1.052, allocations: 272.5 kB / 0.5902 GB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003995/1.052, allocations: 0.6452 MB / 0.5908 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/1.052, allocations: 104.8 kB / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/1.052, allocations: 4 kB / 0.5909 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.753e-05/1.052, allocations: 7.984 kB / 0.5909 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/1.052, allocations: 11.98 kB / 0.591 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/1.052, allocations: 8 kB / 0.591 GB, free: 13.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001683/1.052, allocations: 184.2 kB / 0.5911 GB, free: 13.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009719/1.053, allocations: 43.94 kB / 0.5912 GB, free: 13.11 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.0009168/1.054, allocations: 398.2 kB / 0.5916 GB, free: 12.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/1.055, allocations: 99.58 kB / 0.5917 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.055, allocations: 0 / 0.5917 GB, free: 12.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/1.055, allocations: 55.94 kB / 0.5917 GB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/1.055, allocations: 29.08 kB / 0.5917 GB, free: 12.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/1.056, allocations: 248.9 kB / 0.592 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/1.056, allocations: 0.7544 MB / 0.5927 GB, free: 11.57 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/1.056, allocations: 0 / 0.5927 GB, free: 11.57 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat