Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") [: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.001541/0.001541, allocations: 179.4 kB / 8.519 MB, free: 1.824 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.234/1.234, allocations: 221.4 MB / 230.3 MB, free: 7.75 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.0009421/0.0009422, allocations: 88.72 kB / 281.2 MB, free: 5.508 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.2376/0.2376, allocations: 44.14 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.323e-05/1.336e-05, allocations: 3.938 kB / 444.1 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 61.9 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4938, allocations: 88.48 MB / 0.5805 GB, free: 8.379 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4941, allocations: 71.97 kB / 0.5806 GB, free: 8.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01482/0.5089, allocations: 5.18 MB / 0.5856 GB, free: 3.141 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.5089, allocations: 4 kB / 0.5856 GB, free: 3.137 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.0004626/0.5094, allocations: 394.1 kB / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5095, allocations: 13.22 kB / 0.586 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.5095, allocations: 7.906 kB / 0.586 GB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.5099, allocations: 218.7 kB / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.5099, allocations: 0 / 0.5862 GB, free: 2.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.5099, allocations: 4 kB / 0.5862 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.981e-05/0.51, allocations: 23.98 kB / 0.5863 GB, free: 2.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.5101, allocations: 49.67 kB / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.5101, allocations: 7.938 kB / 0.5863 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.5101, allocations: 11.84 kB / 0.5863 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.5101, allocations: 0 / 0.5863 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.5105, allocations: 261.5 kB / 0.5866 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.5106, allocations: 50.69 kB / 0.5866 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.5107, allocations: 20.89 kB / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.5107, allocations: 0 / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.275e-05/0.5108, allocations: 67.33 kB / 0.5867 GB, free: 1.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5108, allocations: 0 / 0.5867 GB, free: 1.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004361/0.5113, allocations: 137.2 kB / 0.5868 GB, free: 1.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.5113, allocations: 55.41 kB / 0.5869 GB, free: 1.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.5115, allocations: 165.4 kB / 0.5871 GB, free: 1.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.5115, allocations: 29.7 kB / 0.5871 GB, free: 1.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.5116, allocations: 88.12 kB / 0.5872 GB, free: 1.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.5116, allocations: 19.72 kB / 0.5872 GB, free: 1.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.5116, allocations: 0 / 0.5872 GB, free: 1.359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5118, allocations: 322.8 kB / 0.5875 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.5118, allocations: 20 kB / 0.5875 GB, free: 1.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.024e-05/0.5119, allocations: 42.39 kB / 0.5876 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.396e-05/0.5119, allocations: 20 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5119, allocations: 0 / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001411/0.5121, allocations: 89.67 kB / 0.5877 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5121, allocations: 9.094 kB / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5121, allocations: 3.938 kB / 0.5877 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5121, allocations: 0 / 0.5877 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.5122, allocations: 19.92 kB / 0.5877 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5122, allocations: 4 kB / 0.5877 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.5123, allocations: 7.969 kB / 0.5877 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.5123, allocations: 4 kB / 0.5877 GB, free: 0.8086 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 8.244e-05/0.5124, allocations: 112.9 kB / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.5124, allocations: 7.906 kB / 0.5878 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.5126, allocations: 106 kB / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.5127, allocations: 0 / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5127, allocations: 0 / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5127, allocations: 0 / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.513, allocations: 371.8 kB / 0.5883 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5131, allocations: 7.938 kB / 0.5883 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.5131, allocations: 11.98 kB / 0.5883 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5131, allocations: 0 / 0.5883 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5131, allocations: 4 kB / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5131, allocations: 0 / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5131, allocations: 3.984 kB / 0.5883 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000187/0.5133, allocations: 210.2 kB / 0.5885 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.5134, allocations: 97.09 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.5134, allocations: 4 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.5135, allocations: 4 kB / 0.5886 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.5136, allocations: 7.984 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.5136, allocations: 0 / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.881e-05/0.5137, allocations: 141 kB / 0.5887 GB, free: 15.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.514, allocations: 27.98 kB / 0.5888 GB, free: 15.61 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.000715/0.5147, allocations: 350 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.5148, allocations: 55.92 kB / 0.5892 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5148, allocations: 0 / 0.5892 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.817e-05/0.5149, allocations: 28 kB / 0.5892 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.5152, allocations: 23.98 kB / 0.5892 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.5156, allocations: 168.3 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.516, allocations: 0.731 MB / 0.5901 GB, free: 14.28 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.516, allocations: 0 / 0.5901 GB, free: 14.28 MB / 410.7 MB Notification: Performance of Templates: time 0.004493/0.5205, allocations: 1.631 MB / 0.5917 GB, free: 12.66 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches