Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50",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.001126/0.001126, allocations: 179.8 kB / 8.518 MB, free: 500 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.4 MB / 230.3 MB, free: 13.54 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009254, allocations: 99.61 kB / 281.2 MB, free: 10.55 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.14 MB / 376.1 MB, free: 11.71 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2373/0.4372, allocations: 68.03 MB / 444.1 MB, free: 54.27 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.5372, allocations: 61.9 MB / 0.4942 GB, free: 8.293 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/0.8639, allocations: 88.77 MB / 0.5809 GB, free: 9.871 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.8642, allocations: 76.58 kB / 0.5809 GB, free: 9.797 MB / 402.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02381/0.888, allocations: 8.276 MB / 0.589 GB, free: 1.484 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.8881, allocations: 11.94 kB / 0.589 GB, free: 1.473 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.8882, allocations: 7.906 kB / 0.589 GB, free: 1.465 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.8885, allocations: 219.3 kB / 0.5892 GB, free: 1.207 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.8885, allocations: 4 kB / 0.5892 GB, free: 1.203 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.8885, allocations: 4 kB / 0.5893 GB, free: 1.199 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.505e-05/0.8886, allocations: 27.98 kB / 0.5893 GB, free: 1.172 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.8888, allocations: 79.31 kB / 0.5894 GB, free: 1.082 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8888, allocations: 0 / 0.5894 GB, free: 1.082 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.8888, allocations: 3.938 kB / 0.5894 GB, free: 1.078 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.8889, allocations: 0 / 0.5894 GB, free: 1.078 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.8893, allocations: 285.3 kB / 0.5896 GB, free: 0.7617 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.8894, allocations: 62.67 kB / 0.5897 GB, free: 0.6914 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.8895, allocations: 28.92 kB / 0.5897 GB, free: 0.6602 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.8895, allocations: 0 / 0.5897 GB, free: 0.6602 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.8896, allocations: 67.39 kB / 0.5898 GB, free: 0.582 MB / 402.8 MB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.8896, allocations: 4 kB / 0.5898 GB, free: 0.5781 MB / 402.8 MB Notification: Performance of matching and sorting (n=9): time 0.000491/0.8901, allocations: 161.1 kB / 0.5899 GB, free: 424 kB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.8902, allocations: 77.11 kB / 0.59 GB, free: 328 kB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.8903, allocations: 147.1 kB / 0.5902 GB, free: 168 kB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.8904, allocations: 29.7 kB / 0.5902 GB, free: 132 kB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.8904, allocations: 84.14 kB / 0.5903 GB, free: 44 kB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.8904, allocations: 27.61 kB / 0.5903 GB, free: 16 kB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/0.8905, allocations: 0 / 0.5903 GB, free: 16 kB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8906, allocations: 326.8 kB / 0.5906 GB, free: 15.69 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.8907, allocations: 24 kB / 0.5906 GB, free: 15.66 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.8907, allocations: 42.56 kB / 0.5907 GB, free: 15.61 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.673e-05/0.8908, allocations: 30.78 kB / 0.5907 GB, free: 15.59 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8908, allocations: 4 kB / 0.5907 GB, free: 15.58 MB / 418.8 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001751/0.891, allocations: 105.4 kB / 0.5908 GB, free: 15.47 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.891, allocations: 10.19 kB / 0.5908 GB, free: 15.46 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.891, allocations: 0 / 0.5908 GB, free: 15.46 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.891, allocations: 4.062 kB / 0.5908 GB, free: 15.46 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.8911, allocations: 19.94 kB / 0.5908 GB, free: 15.44 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8912, allocations: 3.938 kB / 0.5908 GB, free: 15.44 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.039e-05/0.8912, allocations: 8.172 kB / 0.5908 GB, free: 15.43 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.8912, allocations: 4 kB / 0.5908 GB, free: 15.43 MB / 418.8 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 (11): * Single equations (assignments): 11 * 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.337e-05/0.8913, allocations: 117.3 kB / 0.591 GB, free: 15.31 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.8914, allocations: 15.81 kB / 0.591 GB, free: 15.29 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.8916, allocations: 122.3 kB / 0.5911 GB, free: 15.17 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8916, allocations: 4 kB / 0.5911 GB, free: 15.16 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8917, allocations: 3.984 kB / 0.5911 GB, free: 15.16 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.8917, allocations: 0 / 0.5911 GB, free: 15.16 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.8921, allocations: 383.9 kB / 0.5915 GB, free: 14.74 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.8921, allocations: 3.984 kB / 0.5915 GB, free: 14.73 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.8922, allocations: 16 kB / 0.5915 GB, free: 14.72 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.8922, allocations: 4 kB / 0.5915 GB, free: 14.71 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.8922, allocations: 0 / 0.5915 GB, free: 14.71 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.8922, allocations: 8.016 kB / 0.5915 GB, free: 14.71 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8922, allocations: 4 kB / 0.5915 GB, free: 14.7 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002044/0.8924, allocations: 225.8 kB / 0.5917 GB, free: 14.46 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000313/0.8928, allocations: 0.5886 MB / 0.5923 GB, free: 13.84 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/0.8928, allocations: 96.91 kB / 0.5924 GB, free: 13.73 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.8929, allocations: 3.938 kB / 0.5924 GB, free: 13.72 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.893, allocations: 7.938 kB / 0.5924 GB, free: 13.71 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.893, allocations: 7.984 kB / 0.5924 GB, free: 13.71 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.893, allocations: 0 / 0.5924 GB, free: 13.71 MB / 418.8 MB Notification: Performance of sort global known variables: time 9.295e-05/0.8931, allocations: 131.4 kB / 0.5925 GB, free: 13.58 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0008739/0.894, allocations: 47.89 kB / 0.5926 GB, free: 13.54 MB / 418.8 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 (11): * Single equations (assignments): 9 * 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.0008037/0.8948, allocations: 386.6 kB / 0.5929 GB, free: 13.25 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.895, allocations: 63.94 kB / 0.593 GB, free: 13.18 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.895, allocations: 0 / 0.593 GB, free: 13.18 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.8951, allocations: 39.92 kB / 0.593 GB, free: 13.14 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.8953, allocations: 31.89 kB / 0.5931 GB, free: 13.11 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.8958, allocations: 148.2 kB / 0.5932 GB, free: 12.95 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.8962, allocations: 0.7381 MB / 0.5939 GB, free: 12.18 MB / 418.8 MB Notification: Performance of SimCode: time 2.174e-06/0.8962, allocations: 0 / 0.5939 GB, free: 12.18 MB / 418.8 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat