Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [: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.001101/0.001101, allocations: 177.5 kB / 8.514 MB, free: 1.852 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.303/1.303, allocations: 221.4 MB / 230.3 MB, free: 7.629 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.0009808/0.0009808, allocations: 86.48 kB / 281.2 MB, free: 5.445 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.1916/0.1916, allocations: 44.14 MB / 376.1 MB, free: 3.207 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.201e-05, allocations: 4.219 kB / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3309/0.4782, allocations: 88.44 MB / 0.5805 GB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.4785, allocations: 71.97 kB / 0.5805 GB, free: 8.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01424/0.4927, allocations: 5.09 MB / 0.5855 GB, free: 3.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.4928, allocations: 4 kB / 0.5855 GB, free: 3.242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004658/0.4932, allocations: 402.1 kB / 0.5859 GB, free: 2.805 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4933, allocations: 13.22 kB / 0.5859 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.4934, allocations: 7.906 kB / 0.5859 GB, free: 2.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.4937, allocations: 214.7 kB / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.4937, allocations: 0 / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.4937, allocations: 4 kB / 0.5861 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.187e-05/0.4938, allocations: 15.98 kB / 0.5861 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.538e-05/0.4939, allocations: 49.62 kB / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4939, allocations: 4 kB / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4939, allocations: 11.91 kB / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.494, allocations: 0 / 0.5862 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.4943, allocations: 269.4 kB / 0.5865 GB, free: 2.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4945, allocations: 46.7 kB / 0.5865 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.4945, allocations: 28.86 kB / 0.5865 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.4945, allocations: 4 kB / 0.5865 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.956e-05/0.4946, allocations: 63.34 kB / 0.5866 GB, free: 1.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4946, allocations: 0 / 0.5866 GB, free: 1.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000417/0.4951, allocations: 133.2 kB / 0.5867 GB, free: 1.844 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.4951, allocations: 55.41 kB / 0.5868 GB, free: 1.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.4953, allocations: 161.4 kB / 0.5869 GB, free: 1.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4953, allocations: 29.7 kB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.4953, allocations: 88.12 kB / 0.587 GB, free: 1.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.4954, allocations: 23.7 kB / 0.5871 GB, free: 1.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.4954, allocations: 0 / 0.5871 GB, free: 1.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4955, allocations: 326.8 kB / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.649e-05/0.4956, allocations: 19.94 kB / 0.5874 GB, free: 1.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.4956, allocations: 29.72 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/0.4957, allocations: 23.98 kB / 0.5874 GB, free: 1.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4957, allocations: 0 / 0.5874 GB, free: 1.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001511/0.4958, allocations: 97.48 kB / 0.5875 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.4959, allocations: 8 kB / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4959, allocations: 0 / 0.5875 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4959, allocations: 4.125 kB / 0.5875 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.496, allocations: 15.98 kB / 0.5876 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.496, allocations: 7.938 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.4961, allocations: 3.938 kB / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.4961, allocations: 4 kB / 0.5876 GB, free: 0.9102 MB / 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 (10): * Single equations (assignments): 10 * 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.077e-05/0.4962, allocations: 116.9 kB / 0.5877 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.4962, allocations: 7.906 kB / 0.5877 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.4964, allocations: 102 kB / 0.5878 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4965, allocations: 0 / 0.5878 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4965, allocations: 0 / 0.5878 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4965, allocations: 0 / 0.5878 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.4968, allocations: 371.9 kB / 0.5882 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/0.4969, allocations: 4 kB / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.4969, allocations: 12.03 kB / 0.5882 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4969, allocations: 0 / 0.5882 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.497, allocations: 7.938 kB / 0.5882 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.497, allocations: 7.984 kB / 0.5882 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.497, allocations: 80 / 0.5882 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000178/0.4972, allocations: 201.9 kB / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.4972, allocations: 100.9 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.4973, allocations: 0 / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.205e-05/0.4974, allocations: 4 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.4974, allocations: 11.98 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.4974, allocations: 0 / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001143/0.4975, allocations: 141.1 kB / 0.5886 GB, free: 15.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.4978, allocations: 24 kB / 0.5886 GB, free: 15.72 MB / 410.7 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 (9): * Single equations (assignments): 7 * 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.0007198/0.4985, allocations: 355.5 kB / 0.589 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.4987, allocations: 51.94 kB / 0.589 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.4987, allocations: 0 / 0.589 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.4987, allocations: 28 kB / 0.5891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.499, allocations: 28.09 kB / 0.5891 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.4994, allocations: 160.3 kB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.4997, allocations: 0.7231 MB / 0.5899 GB, free: 14.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4997, allocations: 0 / 0.5899 GB, free: 14.41 MB / 410.7 MB Notification: Performance of Templates: time 0.00431/0.504, allocations: 1.636 MB / 0.5915 GB, free: 12.79 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches