Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77",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.001272/0.001272, allocations: 178.2 kB / 8.52 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.218/1.218, allocations: 221.4 MB / 230.3 MB, free: 7.738 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.0009812/0.0009813, allocations: 88.73 kB / 281.2 MB, free: 5.512 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.168/0.168, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1953/0.3634, allocations: 68.05 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.4737, allocations: 61.91 MB / 0.4942 GB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/0.7624, allocations: 88.74 MB / 0.5808 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.7627, allocations: 79.05 kB / 0.5809 GB, free: 7.918 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.02248/0.7852, allocations: 8.125 MB / 0.5889 GB, free: 15.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.23e-05/0.7853, allocations: 19.94 kB / 0.5889 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.716e-05/0.7854, allocations: 23.72 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.786, allocations: 281.9 kB / 0.5892 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.786, allocations: 7.938 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.7861, allocations: 4 kB / 0.5892 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001213/0.7862, allocations: 43.98 kB / 0.5892 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.7864, allocations: 99.3 kB / 0.5893 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.7864, allocations: 0 / 0.5893 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.7864, allocations: 11.98 kB / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.7864, allocations: 7.844 kB / 0.5893 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.787, allocations: 441.4 kB / 0.5898 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.7873, allocations: 95.48 kB / 0.5898 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.866e-05/0.7874, allocations: 41.83 kB / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.7874, allocations: 4 kB / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.7876, allocations: 101 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.7876, allocations: 0 / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007961/0.7884, allocations: 360 kB / 0.5903 GB, free: 14.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.7884, allocations: 85.03 kB / 0.5904 GB, free: 14.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.7888, allocations: 315.3 kB / 0.5907 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.7888, allocations: 25.7 kB / 0.5907 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.7889, allocations: 108.5 kB / 0.5908 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.7889, allocations: 67.02 kB / 0.5909 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.7889, allocations: 0 / 0.5909 GB, free: 13.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7891, allocations: 342.8 kB / 0.5912 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.879e-05/0.7892, allocations: 52 kB / 0.5913 GB, free: 13.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.7893, allocations: 88.61 kB / 0.5914 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.7894, allocations: 55.98 kB / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7894, allocations: 0 / 0.5914 GB, free: 12.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003071/0.7897, allocations: 211.1 kB / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.7898, allocations: 4 kB / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.7898, allocations: 4.062 kB / 0.5916 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7898, allocations: 4 kB / 0.5916 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.79, allocations: 47.92 kB / 0.5917 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.79, allocations: 0 / 0.5917 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.7901, allocations: 7.984 kB / 0.5917 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.7901, allocations: 8 kB / 0.5917 GB, free: 12.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.219e-05/0.7902, allocations: 112.8 kB / 0.5918 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.7902, allocations: 27.72 kB / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.7906, allocations: 244 kB / 0.5921 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7906, allocations: 0 / 0.5921 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.7907, allocations: 4 kB / 0.5921 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.7907, allocations: 0 / 0.5921 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.7914, allocations: 0.6925 MB / 0.5927 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7915, allocations: 0 / 0.5927 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.7916, allocations: 39.92 kB / 0.5928 GB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7916, allocations: 4 kB / 0.5928 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.7916, allocations: 7.984 kB / 0.5928 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7916, allocations: 0 / 0.5928 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.7916, allocations: 4 kB / 0.5928 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003612/0.792, allocations: 451.9 kB / 0.5932 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004268/0.7924, allocations: 0.8135 MB / 0.594 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.7925, allocations: 128.7 kB / 0.5941 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.7926, allocations: 3.984 kB / 0.5941 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.7927, allocations: 12 kB / 0.5942 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.7928, allocations: 19.97 kB / 0.5942 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.7928, allocations: 12 kB / 0.5942 GB, free: 9.891 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002202/0.793, allocations: 251.1 kB / 0.5944 GB, free: 9.648 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000949/0.794, allocations: 67.77 kB / 0.5945 GB, free: 9.582 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007679/0.7948, allocations: 400.3 kB / 0.5949 GB, free: 9.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.795, allocations: 139.9 kB / 0.595 GB, free: 9.141 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.795, allocations: 8.125 kB / 0.595 GB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.7952, allocations: 75.92 kB / 0.5951 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.7956, allocations: 43.39 kB / 0.5951 GB, free: 9.012 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.7963, allocations: 393 kB / 0.5955 GB, free: 8.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.7967, allocations: 0.8022 MB / 0.5963 GB, free: 7.754 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.7967, allocations: 0 / 0.5963 GB, free: 7.754 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat