Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") [: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.001531/0.001532, allocations: 179.6 kB / 8.521 MB, free: 1.844 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.26/1.26, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009129/0.000913, allocations: 88.72 kB / 281.2 MB, free: 5.461 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.2744/0.2744, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.332e-05/1.333e-05, allocations: 4.219 kB / 444.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1482, allocations: 61.9 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/0.5132, allocations: 88.29 MB / 0.5803 GB, free: 8.602 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.5135, allocations: 75.95 kB / 0.5804 GB, free: 8.527 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01406/0.5276, allocations: 5.035 MB / 0.5853 GB, free: 3.512 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.5276, allocations: 0 / 0.5853 GB, free: 3.512 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.0004154/0.528, allocations: 394.1 kB / 0.5857 GB, free: 3.082 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.5281, allocations: 17.16 kB / 0.5857 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.5281, allocations: 7.906 kB / 0.5857 GB, free: 3.059 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.5284, allocations: 214.7 kB / 0.5859 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.5285, allocations: 0 / 0.5859 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.5285, allocations: 0 / 0.5859 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.812e-05/0.5286, allocations: 20 kB / 0.5859 GB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.6e-05/0.5286, allocations: 45.67 kB / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.5287, allocations: 0 / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5287, allocations: 0 / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5287, allocations: 0 / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.5289, allocations: 162.2 kB / 0.5861 GB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.529, allocations: 50.56 kB / 0.5862 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.5291, allocations: 20.86 kB / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.5291, allocations: 0 / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.72e-05/0.5292, allocations: 67.42 kB / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.5292, allocations: 0 / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001705/0.5294, allocations: 69.5 kB / 0.5863 GB, free: 2.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.5294, allocations: 55.41 kB / 0.5864 GB, free: 2.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.5296, allocations: 157.4 kB / 0.5865 GB, free: 2.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.5296, allocations: 29.7 kB / 0.5866 GB, free: 2.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.5296, allocations: 96.06 kB / 0.5867 GB, free: 1.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.5297, allocations: 15.84 kB / 0.5867 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.5297, allocations: 0 / 0.5867 GB, free: 1.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5298, allocations: 326.7 kB / 0.587 GB, free: 1.605 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.5298, allocations: 8 kB / 0.587 GB, free: 1.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.5299, allocations: 29.7 kB / 0.587 GB, free: 1.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.638e-05/0.5299, allocations: 20 kB / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5299, allocations: 0 / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001239/0.53, allocations: 69.59 kB / 0.5871 GB, free: 1.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5301, allocations: 7.938 kB / 0.5871 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.5301, allocations: 0 / 0.5871 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5301, allocations: 3.984 kB / 0.5871 GB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.5302, allocations: 8 kB / 0.5871 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.5302, allocations: 4 kB / 0.5871 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.478e-05/0.5302, allocations: 3.906 kB / 0.5871 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.5302, allocations: 8.188 kB / 0.5871 GB, free: 1.434 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.637e-05/0.5303, allocations: 109 kB / 0.5872 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.5304, allocations: 11.81 kB / 0.5873 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.5305, allocations: 85.78 kB / 0.5873 GB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.5305, allocations: 4 kB / 0.5873 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5305, allocations: 0 / 0.5873 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5305, allocations: 0 / 0.5873 GB, free: 1.215 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.5307, allocations: 170.1 kB / 0.5875 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5307, allocations: 0 / 0.5875 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.5307, allocations: 4 kB / 0.5875 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.5307, allocations: 7.906 kB / 0.5875 GB, free: 1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5307, allocations: 4 kB / 0.5875 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5307, allocations: 0 / 0.5875 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5308, allocations: 3.984 kB / 0.5875 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000121/0.5309, allocations: 101.1 kB / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.5309, allocations: 93.02 kB / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.531, allocations: 4 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.688e-05/0.531, allocations: 7.984 kB / 0.5877 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.5311, allocations: 4 kB / 0.5877 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5311, allocations: 8 kB / 0.5877 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.641e-05/0.5312, allocations: 136.9 kB / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.5314, allocations: 27.94 kB / 0.5879 GB, free: 0.582 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.0006228/0.532, allocations: 300.4 kB / 0.5882 GB, free: 360 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.5321, allocations: 39.98 kB / 0.5882 GB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.5321, allocations: 0 / 0.5882 GB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/0.5322, allocations: 27.94 kB / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.5324, allocations: 19.89 kB / 0.5883 GB, free: 272 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.5327, allocations: 139.3 kB / 0.5884 GB, free: 104 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/0.5331, allocations: 0.7153 MB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5331, allocations: 4.062 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of Templates: time 0.003729/0.5368, allocations: 1.406 MB / 0.5905 GB, free: 13.96 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches