Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [: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.001563/0.001563, allocations: 178.3 kB / 8.518 MB, free: 1.84 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.318/1.318, allocations: 221.4 MB / 230.3 MB, free: 7.637 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.0009256/0.0009256, allocations: 97.91 kB / 281.2 MB, free: 5.441 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.1822/0.1822, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.696e-06, allocations: 8.156 kB / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 61.91 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.5048, allocations: 88.3 MB / 0.5803 GB, free: 8.562 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.5051, allocations: 75.95 kB / 0.5804 GB, free: 8.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01524/0.5204, allocations: 5.025 MB / 0.5853 GB, free: 3.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.5204, allocations: 4 kB / 0.5853 GB, free: 3.48 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004995/0.5209, allocations: 398 kB / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.521, allocations: 13.22 kB / 0.5857 GB, free: 3.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.521, allocations: 7.906 kB / 0.5857 GB, free: 3.027 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.5214, allocations: 210.8 kB / 0.5859 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.5214, allocations: 7.984 kB / 0.5859 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.5214, allocations: 0 / 0.5859 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.942e-05/0.5215, allocations: 12 kB / 0.5859 GB, free: 2.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.412e-05/0.5216, allocations: 45.67 kB / 0.586 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.5216, allocations: 0 / 0.586 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.5216, allocations: 4 kB / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.5216, allocations: 0 / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.5218, allocations: 162.2 kB / 0.5861 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/0.5219, allocations: 50.56 kB / 0.5862 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.522, allocations: 16.86 kB / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.522, allocations: 4 kB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.292e-05/0.5221, allocations: 55.5 kB / 0.5863 GB, free: 2.363 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5221, allocations: 3.938 kB / 0.5863 GB, free: 2.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001972/0.5223, allocations: 77.42 kB / 0.5863 GB, free: 2.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.5224, allocations: 55.41 kB / 0.5864 GB, free: 2.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.5225, allocations: 161.4 kB / 0.5865 GB, free: 2.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.5226, allocations: 25.7 kB / 0.5866 GB, free: 2.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.5226, allocations: 92.12 kB / 0.5866 GB, free: 1.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.5226, allocations: 12.59 kB / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.5226, allocations: 0 / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5228, allocations: 326.7 kB / 0.587 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.737e-05/0.5228, allocations: 12 kB / 0.587 GB, free: 1.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/0.5229, allocations: 25.72 kB / 0.587 GB, free: 1.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.5229, allocations: 24.05 kB / 0.587 GB, free: 1.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5229, allocations: 0 / 0.587 GB, free: 1.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001162/0.523, allocations: 73.53 kB / 0.5871 GB, free: 1.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5231, allocations: 7.938 kB / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5231, allocations: 0 / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5231, allocations: 4 kB / 0.5871 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.5232, allocations: 11.98 kB / 0.5871 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.5232, allocations: 4.031 kB / 0.5871 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.5233, allocations: 7.906 kB / 0.5871 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.5233, allocations: 0 / 0.5871 GB, free: 1.402 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 (7): * Single equations (assignments): 7 * 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.117e-05/0.5234, allocations: 109 kB / 0.5872 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.5234, allocations: 11.81 kB / 0.5873 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.5235, allocations: 81.8 kB / 0.5873 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.5236, allocations: 0 / 0.5873 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5236, allocations: 0 / 0.5873 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5236, allocations: 7.984 kB / 0.5873 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.5237, allocations: 166.2 kB / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5237, allocations: 0 / 0.5875 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.5238, allocations: 4 kB / 0.5875 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.5238, allocations: 7.891 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5238, allocations: 4 kB / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5238, allocations: 0 / 0.5875 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5238, allocations: 3.984 kB / 0.5875 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003464/0.5242, allocations: 100.9 kB / 0.5876 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.168e-05/0.5243, allocations: 93 kB / 0.5877 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.5243, allocations: 4.125 kB / 0.5877 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.936e-05/0.5244, allocations: 8 kB / 0.5877 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.5245, allocations: 11.98 kB / 0.5877 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.5245, allocations: 0 / 0.5877 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001451/0.5247, allocations: 133 kB / 0.5878 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000316/0.525, allocations: 27.94 kB / 0.5879 GB, free: 0.5586 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006952/0.5257, allocations: 304.2 kB / 0.5882 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.5258, allocations: 39.94 kB / 0.5882 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5258, allocations: 0 / 0.5882 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.5259, allocations: 19.98 kB / 0.5882 GB, free: 280 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.5261, allocations: 27.88 kB / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.5265, allocations: 135.3 kB / 0.5884 GB, free: 88 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.5269, allocations: 0.7232 MB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5269, allocations: 0 / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of Templates: time 0.004262/0.5312, allocations: 1.405 MB / 0.5905 GB, free: 13.94 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches