Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") [: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.001415/0.001415, allocations: 175.5 kB / 8.517 MB, free: 1.859 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.233/1.233, 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.0009738/0.0009737, allocations: 90.97 kB / 281.2 MB, free: 5.449 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.1699/0.1699, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.312e-05, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1437, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4799, allocations: 88.45 MB / 0.5805 GB, free: 8.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4802, allocations: 71.95 kB / 0.5805 GB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01454/0.4948, allocations: 5.086 MB / 0.5855 GB, free: 3.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4948, allocations: 0 / 0.5855 GB, free: 3.27 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.0004451/0.4953, allocations: 390.2 kB / 0.5859 GB, free: 2.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4953, allocations: 13.22 kB / 0.5859 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.4954, allocations: 7.906 kB / 0.5859 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.4957, allocations: 227.3 kB / 0.5861 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.4957, allocations: 4 kB / 0.5861 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.4957, allocations: 0 / 0.5861 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.649e-05/0.4958, allocations: 19.98 kB / 0.5861 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.4959, allocations: 53.67 kB / 0.5862 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4959, allocations: 0 / 0.5862 GB, free: 2.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.496, allocations: 3.906 kB / 0.5862 GB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.496, allocations: 3.938 kB / 0.5862 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.4963, allocations: 273.4 kB / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.637e-05/0.4964, allocations: 50.62 kB / 0.5865 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.4965, allocations: 20.89 kB / 0.5865 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4965, allocations: 4 kB / 0.5865 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.622e-05/0.4966, allocations: 59.41 kB / 0.5866 GB, free: 2.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4966, allocations: 4 kB / 0.5866 GB, free: 2.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003999/0.497, allocations: 141.2 kB / 0.5867 GB, free: 1.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.497, allocations: 55.39 kB / 0.5868 GB, free: 1.797 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.4972, allocations: 161.4 kB / 0.5869 GB, free: 1.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.4972, allocations: 29.69 kB / 0.587 GB, free: 1.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.4973, allocations: 88.14 kB / 0.587 GB, free: 1.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4973, allocations: 23.7 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.4973, allocations: 0 / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.4974, allocations: 326.8 kB / 0.5874 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.4974, allocations: 16 kB / 0.5874 GB, free: 1.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/0.4975, allocations: 29.72 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/0.4975, allocations: 28.05 kB / 0.5874 GB, free: 1.078 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.4976, allocations: 3.938 kB / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000142/0.4977, allocations: 89.5 kB / 0.5875 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.4977, allocations: 4 kB / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4977, allocations: 0 / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4978, allocations: 4.031 kB / 0.5875 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.4979, allocations: 19.98 kB / 0.5876 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4979, allocations: 3.938 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.4979, allocations: 7.938 kB / 0.5876 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4979, allocations: 0 / 0.5876 GB, free: 0.9414 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.209e-05/0.498, allocations: 119.8 kB / 0.5877 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.498, allocations: 7.906 kB / 0.5877 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.4983, allocations: 102 kB / 0.5878 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4983, allocations: 4 kB / 0.5878 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4983, allocations: 4.281 kB / 0.5878 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4983, allocations: 3.984 kB / 0.5878 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.4987, allocations: 367.8 kB / 0.5882 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4987, allocations: 3.938 kB / 0.5882 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.4987, allocations: 8 kB / 0.5882 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.4987, allocations: 0 / 0.5882 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4988, allocations: 11.92 kB / 0.5882 GB, free: 272 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4988, allocations: 4.031 kB / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4988, allocations: 0 / 0.5882 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001657/0.4989, allocations: 205.9 kB / 0.5884 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.227e-05/0.499, allocations: 92.92 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.499, allocations: 4 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.4991, allocations: 7.984 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.4992, allocations: 4 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.4992, allocations: 4 kB / 0.5885 GB, free: 15.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000108/0.4993, allocations: 137.1 kB / 0.5886 GB, free: 15.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.4996, allocations: 28 kB / 0.5886 GB, free: 15.75 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.0007155/0.5003, allocations: 358.5 kB / 0.589 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.5004, allocations: 44 kB / 0.589 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5004, allocations: 0 / 0.589 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.321e-05/0.5005, allocations: 31.94 kB / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.5008, allocations: 23.97 kB / 0.5891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.5011, allocations: 168.5 kB / 0.5892 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.5014, allocations: 0.7231 MB / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5014, allocations: 0 / 0.5899 GB, free: 14.43 MB / 410.7 MB Notification: Performance of Templates: time 0.004029/0.5055, allocations: 1.634 MB / 0.5915 GB, free: 12.8 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches