Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") [: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.001489/0.001489, allocations: 183.4 kB / 8.518 MB, free: 0.4961 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.4 MB / 230.3 MB, free: 13.52 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009407/0.0009407, allocations: 96.22 kB / 281.2 MB, free: 10.52 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2012/0.2012, allocations: 44.14 MB / 376.1 MB, free: 11.67 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 1.107e-05/1.117e-05, allocations: 4 kB / 444 MB, free: 54.39 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 61.91 MB / 0.4941 GB, free: 8.41 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3076/0.4208, allocations: 88.49 MB / 0.5805 GB, free: 10.38 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.4211, allocations: 72.62 kB / 0.5806 GB, free: 10.31 MB / 402.8 MB Notification: Performance of FrontEnd: time 0.01499/0.4361, allocations: 5.215 MB / 0.5857 GB, free: 5.105 MB / 402.8 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.4361, allocations: 7.984 kB / 0.5857 GB, free: 5.098 MB / 402.8 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.0004468/0.4366, allocations: 402 kB / 0.5861 GB, free: 4.66 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4366, allocations: 17.22 kB / 0.5861 GB, free: 4.645 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.4367, allocations: 11.91 kB / 0.5861 GB, free: 4.633 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.437, allocations: 212.9 kB / 0.5863 GB, free: 4.383 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4371, allocations: 0 / 0.5863 GB, free: 4.383 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4371, allocations: 7.938 kB / 0.5863 GB, free: 4.375 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.715e-05/0.4372, allocations: 27.94 kB / 0.5863 GB, free: 4.348 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.389e-05/0.4373, allocations: 53.58 kB / 0.5864 GB, free: 4.289 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4373, allocations: 0 / 0.5864 GB, free: 4.289 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4373, allocations: 0 / 0.5864 GB, free: 4.289 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.4373, allocations: 3.938 kB / 0.5864 GB, free: 4.285 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.4377, allocations: 273.4 kB / 0.5866 GB, free: 3.98 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.4378, allocations: 58.62 kB / 0.5867 GB, free: 3.91 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.4379, allocations: 20.97 kB / 0.5867 GB, free: 3.887 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.4379, allocations: 0 / 0.5867 GB, free: 3.887 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.4381, allocations: 59.41 kB / 0.5868 GB, free: 3.816 MB / 402.8 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.4381, allocations: 0 / 0.5868 GB, free: 3.816 MB / 402.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004534/0.4385, allocations: 129.2 kB / 0.5869 GB, free: 3.684 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.4386, allocations: 51.41 kB / 0.5869 GB, free: 3.621 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.4387, allocations: 186.4 kB / 0.5871 GB, free: 3.43 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.4388, allocations: 25.7 kB / 0.5871 GB, free: 3.398 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.4388, allocations: 92.05 kB / 0.5872 GB, free: 3.305 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.4388, allocations: 27.64 kB / 0.5873 GB, free: 3.277 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.4389, allocations: 0 / 0.5873 GB, free: 3.277 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.439, allocations: 322.8 kB / 0.5876 GB, free: 2.953 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.439, allocations: 16 kB / 0.5876 GB, free: 2.938 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.204e-05/0.439, allocations: 33.7 kB / 0.5876 GB, free: 2.898 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.4391, allocations: 24 kB / 0.5876 GB, free: 2.875 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.4391, allocations: 0 / 0.5876 GB, free: 2.875 MB / 402.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001457/0.4393, allocations: 101.4 kB / 0.5877 GB, free: 2.77 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.4393, allocations: 4 kB / 0.5877 GB, free: 2.766 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4393, allocations: 0 / 0.5877 GB, free: 2.766 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4393, allocations: 4 kB / 0.5877 GB, free: 2.762 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.4394, allocations: 12 kB / 0.5878 GB, free: 2.75 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.4394, allocations: 0 / 0.5878 GB, free: 2.75 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.4395, allocations: 12.02 kB / 0.5878 GB, free: 2.738 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.4395, allocations: 4 kB / 0.5878 GB, free: 2.734 MB / 402.8 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 6.888e-05/0.4396, allocations: 108.9 kB / 0.5879 GB, free: 2.621 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.4396, allocations: 11.81 kB / 0.5879 GB, free: 2.609 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.4398, allocations: 103.2 kB / 0.588 GB, free: 2.508 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4398, allocations: 4 kB / 0.588 GB, free: 2.504 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4398, allocations: 3.938 kB / 0.588 GB, free: 2.5 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4398, allocations: 0 / 0.588 GB, free: 2.5 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.4402, allocations: 371.9 kB / 0.5883 GB, free: 2.09 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4402, allocations: 192 / 0.5883 GB, free: 2.09 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.4403, allocations: 19.92 kB / 0.5884 GB, free: 2.07 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.4403, allocations: 3.938 kB / 0.5884 GB, free: 2.066 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4403, allocations: 4 kB / 0.5884 GB, free: 2.062 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4403, allocations: 3.906 kB / 0.5884 GB, free: 2.059 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4403, allocations: 240 / 0.5884 GB, free: 2.059 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001825/0.4405, allocations: 218.1 kB / 0.5886 GB, free: 1.82 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.4406, allocations: 89 kB / 0.5887 GB, free: 1.715 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.4406, allocations: 4 kB / 0.5887 GB, free: 1.711 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.4407, allocations: 3.906 kB / 0.5887 GB, free: 1.707 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.4407, allocations: 11.98 kB / 0.5887 GB, free: 1.695 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4408, allocations: 7.984 kB / 0.5887 GB, free: 1.688 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001107/0.4409, allocations: 148 kB / 0.5888 GB, free: 1.543 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0002657/0.4411, allocations: 27.94 kB / 0.5889 GB, free: 1.516 MB / 402.8 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.0007122/0.4419, allocations: 335.7 kB / 0.5892 GB, free: 1.262 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.442, allocations: 59.92 kB / 0.5892 GB, free: 1.203 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.442, allocations: 0 / 0.5892 GB, free: 1.203 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.4421, allocations: 31.94 kB / 0.5893 GB, free: 1.172 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4424, allocations: 29.11 kB / 0.5893 GB, free: 1.148 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.4427, allocations: 164.5 kB / 0.5895 GB, free: 0.9531 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.4431, allocations: 0.7349 MB / 0.5902 GB, free: 196 kB / 402.8 MB Notification: Performance of SimCode: time 2.71e-07/0.4431, allocations: 0 / 0.5902 GB, free: 196 kB / 402.8 MB Notification: Performance of Templates: time 0.004086/0.4472, allocations: 1.644 MB / 0.5918 GB, free: 14.55 MB / 418.8 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches