Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") [: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.0009658/0.0009657, allocations: 179.1 kB / 8.52 MB, free: 1.84 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.279/1.279, 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.001223/0.001223, allocations: 85.86 kB / 281.2 MB, free: 5.43 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.1823/0.1823, allocations: 44.15 MB / 376.1 MB, free: 3.199 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/7.985e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 61.91 MB / 0.4941 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2914/0.4115, allocations: 88.44 MB / 0.5805 GB, free: 8.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.4118, allocations: 76.61 kB / 0.5805 GB, free: 8.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01483/0.4266, allocations: 5.089 MB / 0.5855 GB, free: 3.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.4267, allocations: 0 / 0.5855 GB, free: 3.254 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.0004468/0.4272, allocations: 394.1 kB / 0.5859 GB, free: 2.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4272, allocations: 13.22 kB / 0.5859 GB, free: 2.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.4273, allocations: 12.64 kB / 0.5859 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.4276, allocations: 218.7 kB / 0.5861 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4276, allocations: 0 / 0.5861 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.4276, allocations: 11.97 kB / 0.5861 GB, free: 2.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.401e-05/0.4277, allocations: 16 kB / 0.5861 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.4278, allocations: 57.61 kB / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4278, allocations: 0 / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4279, allocations: 3.906 kB / 0.5862 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.4279, allocations: 3.938 kB / 0.5862 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.4283, allocations: 269.5 kB / 0.5865 GB, free: 2.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.4284, allocations: 46.69 kB / 0.5865 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.4284, allocations: 20.89 kB / 0.5865 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.4284, allocations: 0 / 0.5865 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.659e-05/0.4285, allocations: 67.33 kB / 0.5866 GB, free: 1.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.4286, allocations: 0 / 0.5866 GB, free: 1.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004428/0.429, allocations: 141.2 kB / 0.5867 GB, free: 1.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.429, allocations: 51.41 kB / 0.5868 GB, free: 1.785 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4292, allocations: 161.4 kB / 0.5869 GB, free: 1.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4292, allocations: 29.7 kB / 0.587 GB, free: 1.586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.4293, allocations: 92.12 kB / 0.587 GB, free: 1.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.4293, allocations: 15.72 kB / 0.5871 GB, free: 1.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4293, allocations: 7.938 kB / 0.5871 GB, free: 1.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4295, allocations: 318.8 kB / 0.5874 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.484e-05/0.4295, allocations: 24 kB / 0.5874 GB, free: 1.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.684e-05/0.4296, allocations: 37.69 kB / 0.5874 GB, free: 1.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.4296, allocations: 16 kB / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.4296, allocations: 0 / 0.5874 GB, free: 1.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001469/0.4298, allocations: 101.4 kB / 0.5875 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4298, allocations: 5.094 kB / 0.5876 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4298, allocations: 0 / 0.5876 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4298, allocations: 0 / 0.5876 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.4299, allocations: 24.02 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4299, allocations: 0 / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.43, allocations: 3.938 kB / 0.5876 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.43, allocations: 4 kB / 0.5876 GB, free: 0.9258 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.074e-05/0.4301, allocations: 108.9 kB / 0.5877 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.4301, allocations: 7.906 kB / 0.5877 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.4303, allocations: 110 kB / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4303, allocations: 0 / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4303, allocations: 4.281 kB / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4303, allocations: 0 / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.4307, allocations: 367.8 kB / 0.5882 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4307, allocations: 7.922 kB / 0.5882 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.4307, allocations: 12 kB / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4308, allocations: 0 / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4308, allocations: 7.938 kB / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4308, allocations: 240 / 0.5882 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4308, allocations: 7.969 kB / 0.5882 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001674/0.431, allocations: 205.9 kB / 0.5884 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.431, allocations: 92.91 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.4311, allocations: 0 / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.4311, allocations: 4 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.4312, allocations: 15.98 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.4312, allocations: 4 kB / 0.5885 GB, free: 15.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.745e-05/0.4313, allocations: 141.1 kB / 0.5886 GB, free: 15.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.4316, allocations: 24 kB / 0.5887 GB, free: 15.73 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.0006922/0.4323, allocations: 348.6 kB / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.4324, allocations: 55.92 kB / 0.589 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4324, allocations: 0 / 0.589 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.005e-05/0.4325, allocations: 28 kB / 0.5891 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.4327, allocations: 19.98 kB / 0.5891 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.4331, allocations: 164.3 kB / 0.5892 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.4334, allocations: 0.7271 MB / 0.5899 GB, free: 14.42 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4334, allocations: 0 / 0.5899 GB, free: 14.42 MB / 410.7 MB Notification: Performance of Templates: time 0.003916/0.4374, allocations: 1.634 MB / 0.5915 GB, free: 12.8 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches