Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.001456/0.001456, allocations: 179.3 kB / 8.518 MB, free: 1.824 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.29/1.29, 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.001554/0.001554, allocations: 86.11 kB / 281.2 MB, free: 5.527 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.1939/0.1939, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2236/0.4176, allocations: 68.03 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.5441, allocations: 61.91 MB / 0.4942 GB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.8909, allocations: 88.54 MB / 0.5806 GB, free: 8.262 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.8913, allocations: 75.95 kB / 0.5807 GB, free: 8.188 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01717/0.9085, allocations: 6.016 MB / 0.5866 GB, free: 2.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9085, allocations: 11.94 kB / 0.5866 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.9086, allocations: 11.81 kB / 0.5866 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.9089, allocations: 218.7 kB / 0.5868 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.909, allocations: 4 kB / 0.5868 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.909, allocations: 0 / 0.5868 GB, free: 1.859 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.512e-05/0.9091, allocations: 23.98 kB / 0.5869 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.9092, allocations: 61.59 kB / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.9092, allocations: 4 kB / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.9092, allocations: 0 / 0.5869 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.9093, allocations: 7.984 kB / 0.5869 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.9097, allocations: 285.2 kB / 0.5872 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.9099, allocations: 41.7 kB / 0.5872 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.9099, allocations: 16.98 kB / 0.5872 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.9099, allocations: 4 kB / 0.5873 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.9101, allocations: 71.33 kB / 0.5873 GB, free: 1.289 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.9101, allocations: 0 / 0.5873 GB, free: 1.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005543/0.9107, allocations: 173.2 kB / 0.5875 GB, free: 1.113 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.9107, allocations: 51.41 kB / 0.5875 GB, free: 1.051 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.9109, allocations: 197.9 kB / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.9109, allocations: 25.7 kB / 0.5877 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.911, allocations: 104 kB / 0.5878 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.911, allocations: 31.55 kB / 0.5879 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.9111, allocations: 0 / 0.5879 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9112, allocations: 326.8 kB / 0.5882 GB, free: 360 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/0.9112, allocations: 27.94 kB / 0.5882 GB, free: 332 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.9113, allocations: 45.83 kB / 0.5883 GB, free: 280 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/0.9114, allocations: 27.98 kB / 0.5883 GB, free: 252 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.9114, allocations: 8.75 kB / 0.5883 GB, free: 244 kB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001896/0.9116, allocations: 109.5 kB / 0.5884 GB, free: 128 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.9116, allocations: 4 kB / 0.5884 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9116, allocations: 0 / 0.5884 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.9116, allocations: 3.984 kB / 0.5884 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.9117, allocations: 23.94 kB / 0.5884 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.9118, allocations: 3.906 kB / 0.5884 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.672e-05/0.9118, allocations: 7.984 kB / 0.5884 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.9118, allocations: 11.94 kB / 0.5885 GB, free: 72 kB / 394.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 (13): * Single equations (assignments): 13 * 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 0.0001197/0.912, allocations: 105 kB / 0.5886 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.912, allocations: 15.81 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.9123, allocations: 135.4 kB / 0.5887 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.9123, allocations: 4 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9123, allocations: 0 / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.9123, allocations: 7.984 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.9128, allocations: 424.5 kB / 0.5891 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9128, allocations: 0 / 0.5891 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.9129, allocations: 23.94 kB / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.9129, allocations: 0 / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.9129, allocations: 7.984 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9129, allocations: 0 / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.9129, allocations: 0 / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002221/0.9131, allocations: 252.3 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000312/0.9134, allocations: 0.6044 MB / 0.59 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.9135, allocations: 100.9 kB / 0.5901 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.9136, allocations: 4 kB / 0.5901 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.9137, allocations: 3.984 kB / 0.5901 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.9137, allocations: 8 kB / 0.5901 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.9137, allocations: 11.89 kB / 0.5901 GB, free: 14.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001251/0.9139, allocations: 155.2 kB / 0.5902 GB, free: 14.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008927/0.9148, allocations: 55.88 kB / 0.5903 GB, free: 14.03 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 (12): * Single equations (assignments): 10 * 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.0008582/0.9156, allocations: 388.9 kB / 0.5907 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.9158, allocations: 67.94 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.9158, allocations: 0 / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.9159, allocations: 47.92 kB / 0.5908 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.9162, allocations: 31.14 kB / 0.5908 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.9167, allocations: 205.4 kB / 0.591 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.9171, allocations: 0.7465 MB / 0.5917 GB, free: 12.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.9171, allocations: 0 / 0.5917 GB, free: 12.59 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat