Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [: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.001062/0.001062, allocations: 174.9 kB / 8.518 MB, free: 1.828 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.271/1.271, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009331/0.0009332, allocations: 88.67 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.1987/0.1987, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.188e-06/9.368e-06, allocations: 4.219 kB / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 61.92 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4574, allocations: 88.32 MB / 0.5804 GB, free: 8.578 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4577, allocations: 67.97 kB / 0.5804 GB, free: 8.512 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01591/0.4736, allocations: 6.237 MB / 0.5865 GB, free: 2.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.4737, allocations: 8 kB / 0.5865 GB, free: 2.281 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006234/0.4743, allocations: 0.5869 MB / 0.5871 GB, free: 1.648 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.4743, allocations: 21.41 kB / 0.5871 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.4744, allocations: 51.33 kB / 0.5872 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.4751, allocations: 471 kB / 0.5876 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4752, allocations: 0 / 0.5876 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.4752, allocations: 4 kB / 0.5876 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.057e-05/0.4753, allocations: 27.98 kB / 0.5876 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.4754, allocations: 91.3 kB / 0.5877 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4754, allocations: 3.984 kB / 0.5877 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4755, allocations: 0 / 0.5877 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4755, allocations: 4 kB / 0.5877 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.4758, allocations: 350.9 kB / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.476, allocations: 85.45 kB / 0.5882 GB, free: 464 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.4761, allocations: 37.7 kB / 0.5882 GB, free: 420 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.4761, allocations: 7.938 kB / 0.5882 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.4762, allocations: 97.09 kB / 0.5883 GB, free: 296 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.4762, allocations: 0 / 0.5883 GB, free: 296 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002886/0.4765, allocations: 141 kB / 0.5884 GB, free: 148 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.4766, allocations: 85.11 kB / 0.5885 GB, free: 44 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.4777, allocations: 0.8732 MB / 0.5894 GB, free: 15.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.4778, allocations: 29.7 kB / 0.5894 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.4779, allocations: 136.1 kB / 0.5895 GB, free: 14.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.104e-05/0.4779, allocations: 27.64 kB / 0.5895 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.4779, allocations: 0 / 0.5895 GB, free: 14.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4781, allocations: 374.8 kB / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.4781, allocations: 20 kB / 0.5899 GB, free: 14.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.4782, allocations: 55.42 kB / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.4783, allocations: 27.98 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4783, allocations: 3.906 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002258/0.4785, allocations: 161.2 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.4785, allocations: 4 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4785, allocations: 3.938 kB / 0.5902 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4786, allocations: 4 kB / 0.5902 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4787, allocations: 23.89 kB / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4787, allocations: 4 kB / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4788, allocations: 4 kB / 0.5902 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4788, allocations: 11.92 kB / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.212e-05/0.4789, allocations: 120.8 kB / 0.5903 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.286e-05/0.479, allocations: 47.44 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.4793, allocations: 173.5 kB / 0.5905 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4793, allocations: 3.906 kB / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4793, allocations: 0 / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.4793, allocations: 4 kB / 0.5905 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/0.4796, allocations: 353.8 kB / 0.5909 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4796, allocations: 0 / 0.5909 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.4797, allocations: 11.98 kB / 0.5909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.4797, allocations: 11.91 kB / 0.5909 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4797, allocations: 0 / 0.5909 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4797, allocations: 0 / 0.5909 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4798, allocations: 4 kB / 0.5909 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002546/0.48, allocations: 191.2 kB / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.4802, allocations: 192.3 kB / 0.5913 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/0.4803, allocations: 4 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4804, allocations: 8.172 kB / 0.5913 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.4805, allocations: 12 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.4805, allocations: 11.92 kB / 0.5913 GB, free: 13.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007446/0.4813, allocations: 0.698 MB / 0.592 GB, free: 12.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000295/0.4816, allocations: 68 kB / 0.5921 GB, free: 12.26 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006123/0.4822, allocations: 310.3 kB / 0.5923 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.4823, allocations: 75.92 kB / 0.5924 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.4823, allocations: 0 / 0.5924 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.4824, allocations: 43.92 kB / 0.5925 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4828, allocations: 60.77 kB / 0.5925 GB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.4839, allocations: 0.7389 MB / 0.5932 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.4844, allocations: 0.885 MB / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4844, allocations: 0 / 0.5941 GB, free: 10.17 MB / 410.7 MB Notification: Performance of Templates: time 0.007338/0.4918, allocations: 3.585 MB / 0.5976 GB, free: 6.602 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches