Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") [: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.0009681/0.0009681, allocations: 179.6 kB / 8.516 MB, free: 1.855 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.251/1.251, 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.000922/0.0009222, allocations: 88.11 kB / 281.2 MB, free: 5.453 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.1906/0.1906, allocations: 44.16 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.717e-06/8.727e-06, allocations: 4 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1393, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4977, allocations: 88.48 MB / 0.5805 GB, free: 8.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.498, allocations: 76.7 kB / 0.5806 GB, free: 8.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01499/0.513, allocations: 5.215 MB / 0.5857 GB, free: 3.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.5131, allocations: 3.938 kB / 0.5857 GB, free: 3.141 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.0004717/0.5135, allocations: 414 kB / 0.5861 GB, free: 2.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.5136, allocations: 17.22 kB / 0.5861 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.5137, allocations: 7.906 kB / 0.5861 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.514, allocations: 211.5 kB / 0.5863 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.514, allocations: 0 / 0.5863 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.514, allocations: 4 kB / 0.5863 GB, free: 2.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.357e-05/0.5141, allocations: 16 kB / 0.5863 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.365e-05/0.5142, allocations: 65.56 kB / 0.5864 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5142, allocations: 0 / 0.5864 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5143, allocations: 0 / 0.5864 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.5143, allocations: 7.875 kB / 0.5864 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.5147, allocations: 277.4 kB / 0.5866 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.918e-05/0.5148, allocations: 46.69 kB / 0.5867 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.5148, allocations: 24.97 kB / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.5148, allocations: 0 / 0.5867 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.731e-05/0.5149, allocations: 63.34 kB / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.5149, allocations: 0 / 0.5868 GB, free: 1.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004102/0.5153, allocations: 125.3 kB / 0.5869 GB, free: 1.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.5154, allocations: 51.41 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.5156, allocations: 187.6 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.5156, allocations: 29.7 kB / 0.5872 GB, free: 1.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.5157, allocations: 92.05 kB / 0.5872 GB, free: 1.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.5157, allocations: 27.64 kB / 0.5873 GB, free: 1.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.5157, allocations: 0 / 0.5873 GB, free: 1.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5159, allocations: 322.8 kB / 0.5876 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.5159, allocations: 16 kB / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.697e-05/0.516, allocations: 37.64 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.516, allocations: 20 kB / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-07/0.516, allocations: 0 / 0.5876 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001548/0.5162, allocations: 105.5 kB / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5162, allocations: 5.094 kB / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5162, allocations: 0 / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5162, allocations: 4 kB / 0.5878 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.5163, allocations: 15.94 kB / 0.5878 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5163, allocations: 0 / 0.5878 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.5164, allocations: 7.984 kB / 0.5878 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.5164, allocations: 192 / 0.5878 GB, free: 0.7734 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 7.338e-05/0.5165, allocations: 111.7 kB / 0.5879 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.5165, allocations: 15.75 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.5167, allocations: 107 kB / 0.588 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.5167, allocations: 4 kB / 0.588 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5167, allocations: 0 / 0.588 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5168, allocations: 0 / 0.588 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.5171, allocations: 371.8 kB / 0.5884 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5171, allocations: 3.984 kB / 0.5884 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.5172, allocations: 8 kB / 0.5884 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5172, allocations: 3.938 kB / 0.5884 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5172, allocations: 4 kB / 0.5884 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5172, allocations: 3.906 kB / 0.5884 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5172, allocations: 0 / 0.5884 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002038/0.5174, allocations: 210.1 kB / 0.5886 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.5175, allocations: 93 kB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.5175, allocations: 4 kB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/0.5176, allocations: 4.094 kB / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.5177, allocations: 15.97 kB / 0.5887 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.5177, allocations: 4 kB / 0.5887 GB, free: 15.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000119/0.5178, allocations: 148 kB / 0.5888 GB, free: 15.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002736/0.5181, allocations: 27.94 kB / 0.5889 GB, free: 15.56 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.0006792/0.5188, allocations: 341.3 kB / 0.5892 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.5189, allocations: 59.92 kB / 0.5892 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.5189, allocations: 0 / 0.5892 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.519, allocations: 32.06 kB / 0.5893 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.5193, allocations: 19.98 kB / 0.5893 GB, free: 15.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.5196, allocations: 168.5 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.52, allocations: 0.7309 MB / 0.5902 GB, free: 14.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.52, allocations: 0 / 0.5902 GB, free: 14.24 MB / 410.7 MB Notification: Performance of Templates: time 0.004026/0.524, allocations: 1.659 MB / 0.5918 GB, free: 12.59 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches