Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") [: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.0009998/0.0009998, allocations: 175.1 kB / 8.52 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.231/1.231, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0008944/0.0008943, allocations: 89.61 kB / 281.2 MB, free: 5.445 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.1662/0.1662, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.748e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1304, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.4376, allocations: 88.44 MB / 0.5805 GB, free: 8.441 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4378, allocations: 75.95 kB / 0.5805 GB, free: 8.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01388/0.4517, allocations: 4.979 MB / 0.5854 GB, free: 3.402 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.4518, allocations: 0 / 0.5854 GB, free: 3.402 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.0004104/0.4522, allocations: 398.1 kB / 0.5858 GB, free: 2.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4522, allocations: 13.22 kB / 0.5858 GB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.4523, allocations: 11.91 kB / 0.5858 GB, free: 2.945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002708/0.4526, allocations: 199.4 kB / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4526, allocations: 4 kB / 0.586 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4526, allocations: 7.906 kB / 0.586 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.783e-05/0.4527, allocations: 27.91 kB / 0.586 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/0.4528, allocations: 49.69 kB / 0.5861 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.4528, allocations: 0 / 0.5861 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4528, allocations: 3.984 kB / 0.5861 GB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4528, allocations: 0 / 0.5861 GB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.4532, allocations: 273.3 kB / 0.5863 GB, free: 2.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.756e-05/0.4533, allocations: 42.7 kB / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.4533, allocations: 28.91 kB / 0.5864 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.4534, allocations: 0 / 0.5864 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.654e-05/0.4535, allocations: 59.41 kB / 0.5865 GB, free: 2.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.4535, allocations: 0 / 0.5865 GB, free: 2.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004003/0.4539, allocations: 133.2 kB / 0.5866 GB, free: 2.016 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.4539, allocations: 59.34 kB / 0.5866 GB, free: 1.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.454, allocations: 149.7 kB / 0.5868 GB, free: 1.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4541, allocations: 29.7 kB / 0.5868 GB, free: 1.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.4541, allocations: 88.14 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.4541, allocations: 15.7 kB / 0.5869 GB, free: 1.648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.4542, allocations: 4 kB / 0.5869 GB, free: 1.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4543, allocations: 322.8 kB / 0.5872 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.327e-05/0.4543, allocations: 16 kB / 0.5872 GB, free: 1.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.4544, allocations: 30.47 kB / 0.5873 GB, free: 1.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.597e-05/0.4544, allocations: 32.05 kB / 0.5873 GB, free: 1.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.4544, allocations: 0 / 0.5873 GB, free: 1.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001375/0.4546, allocations: 89.44 kB / 0.5874 GB, free: 1.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4546, allocations: 11.98 kB / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.4546, allocations: 192 / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.4546, allocations: 0 / 0.5874 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.371e-05/0.4547, allocations: 19.94 kB / 0.5874 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4547, allocations: 4 kB / 0.5874 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.4548, allocations: 3.984 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.4548, allocations: 4.031 kB / 0.5874 GB, free: 1.102 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.564e-05/0.4549, allocations: 108.9 kB / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.4549, allocations: 15.84 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001944/0.4551, allocations: 90.17 kB / 0.5876 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4551, allocations: 7.984 kB / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4551, allocations: 0 / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4551, allocations: 0 / 0.5876 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.4555, allocations: 371.7 kB / 0.588 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4555, allocations: 0 / 0.588 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.098e-05/0.4556, allocations: 8 kB / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4556, allocations: 0 / 0.588 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4556, allocations: 15.78 kB / 0.588 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4556, allocations: 0 / 0.588 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.4556, allocations: 0 / 0.588 GB, free: 444 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002026/0.4558, allocations: 206 kB / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.4559, allocations: 89 kB / 0.5883 GB, free: 104 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.4559, allocations: 7.938 kB / 0.5883 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.456, allocations: 4 kB / 0.5883 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.456, allocations: 7.984 kB / 0.5883 GB, free: 84 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.4561, allocations: 0 / 0.5883 GB, free: 84 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001032/0.4562, allocations: 120 kB / 0.5884 GB, free: 15.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002629/0.4564, allocations: 27.98 kB / 0.5885 GB, free: 15.94 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.0007446/0.4572, allocations: 353.8 kB / 0.5888 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.4573, allocations: 51.94 kB / 0.5888 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4573, allocations: 0 / 0.5888 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.4574, allocations: 36 kB / 0.5889 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.4577, allocations: 31.88 kB / 0.5889 GB, free: 15.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.458, allocations: 132.7 kB / 0.589 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.4583, allocations: 0.7149 MB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4584, allocations: 4 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of Templates: time 0.003887/0.4623, allocations: 1.591 MB / 0.5913 GB, free: 13.08 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches