Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [: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.001447/0.001448, allocations: 181.9 kB / 8.521 MB, free: 1.82 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.233/1.233, allocations: 221.4 MB / 230.3 MB, free: 7.781 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.0008641/0.0008641, allocations: 92.73 kB / 281.2 MB, free: 5.543 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.1656/0.1656, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.424e-06, allocations: 4.219 kB / 444.1 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 61.91 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2866/0.3968, allocations: 89.38 MB / 0.5814 GB, free: 7.516 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.3971, allocations: 75.95 kB / 0.5815 GB, free: 7.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01186/0.409, allocations: 4.024 MB / 0.5854 GB, free: 3.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.409, allocations: 4 kB / 0.5854 GB, free: 3.426 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005363/0.4096, allocations: 451.7 kB / 0.5858 GB, free: 2.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4096, allocations: 11.97 kB / 0.5858 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.4097, allocations: 16.56 kB / 0.5859 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.41, allocations: 228 kB / 0.5861 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.4101, allocations: 4 kB / 0.5861 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.4101, allocations: 4 kB / 0.5861 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001115/0.4102, allocations: 39.84 kB / 0.5861 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4104, allocations: 92.23 kB / 0.5862 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4104, allocations: 0 / 0.5862 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.4104, allocations: 4 kB / 0.5862 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4104, allocations: 3.938 kB / 0.5862 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.411, allocations: 0.4897 MB / 0.5867 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.4113, allocations: 74.67 kB / 0.5868 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.4113, allocations: 36.84 kB / 0.5868 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.4114, allocations: 4 kB / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.4115, allocations: 71.55 kB / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 3.066e-06/0.4115, allocations: 0 / 0.5869 GB, free: 1.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002234/0.4117, allocations: 93.42 kB / 0.587 GB, free: 1.645 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.4118, allocations: 59.34 kB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.4119, allocations: 170.7 kB / 0.5872 GB, free: 1.395 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4119, allocations: 25.7 kB / 0.5872 GB, free: 1.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.412, allocations: 96.03 kB / 0.5873 GB, free: 1.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.412, allocations: 31.55 kB / 0.5873 GB, free: 1.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.412, allocations: 0 / 0.5873 GB, free: 1.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4122, allocations: 326.8 kB / 0.5876 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.4122, allocations: 24.12 kB / 0.5877 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.4123, allocations: 62.16 kB / 0.5877 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.737e-05/0.4124, allocations: 27.98 kB / 0.5877 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4124, allocations: 0 / 0.5877 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001937/0.4126, allocations: 117.4 kB / 0.5879 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.4126, allocations: 4.188 kB / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4126, allocations: 4.125 kB / 0.5879 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4126, allocations: 7.938 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.4127, allocations: 27.92 kB / 0.5879 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.4128, allocations: 3.906 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.4128, allocations: 11.94 kB / 0.5879 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.4129, allocations: 4 kB / 0.5879 GB, free: 0.5977 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.122e-05/0.413, allocations: 111.1 kB / 0.588 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.413, allocations: 15.91 kB / 0.588 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.4132, allocations: 110.9 kB / 0.5881 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4132, allocations: 0 / 0.5881 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4132, allocations: 0 / 0.5881 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4132, allocations: 0 / 0.5881 GB, free: 360 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.4134, allocations: 186.2 kB / 0.5883 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4134, allocations: 0 / 0.5883 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.4135, allocations: 19.84 kB / 0.5883 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4135, allocations: 0 / 0.5883 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4136, allocations: 15.98 kB / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4136, allocations: 0 / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4136, allocations: 0 / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003183/0.4139, allocations: 152.9 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.414, allocations: 104.8 kB / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.414, allocations: 0 / 0.5886 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-05/0.4141, allocations: 12.06 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.4142, allocations: 7.984 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.4142, allocations: 0 / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001124/0.4143, allocations: 136.1 kB / 0.5888 GB, free: 15.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.4145, allocations: 31.91 kB / 0.5888 GB, free: 15.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007817/0.4153, allocations: 308.9 kB / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.4155, allocations: 71.95 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4155, allocations: 4 kB / 0.5891 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.4156, allocations: 28 kB / 0.5892 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.4158, allocations: 28.53 kB / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.4163, allocations: 187.5 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.4166, allocations: 0.7393 MB / 0.5901 GB, free: 14.28 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4167, allocations: 0 / 0.5901 GB, free: 14.28 MB / 410.7 MB Notification: Performance of Templates: time 0.004505/0.4212, allocations: 1.779 MB / 0.5918 GB, free: 12.52 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches